myImage.jpg in a folder named MyFolder in another assembly named myAssembly?
Which of the following examples of the pack URI syntax accesses a file named
myImage.jpg in a folder named MyFolder in another assembly named myAssembly?
which base class should you inherit?
You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit?
Which of the following options are TRUE?
You use Microsoft .Net Framework 4 to create a Windows Form application.
You created a new application, you then wrote the code below:
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture
Which of the following options are TRUE?
What should you do ?
You are developing a Windows Presentation Foundation (WPF) application.
The application contains stylized body text and heading text. The heading text is a slight variation of the body text.
You need to ensure that if the body text changes, the heading text automatically inherits those changes.
What should you do ?
What should you do ?
You are developing a user control for Windows Presentation Foundation (WPF) application.
The user control contains a button. Both the user control and the hosting control must receive the button click event.
You need to ensure that the user control responsd to the button click event before hosting control responds to the event.
What should you do ?
Which Visual Studio window should you select ?
You are developing a Windows Presentation Foundation (WPF) application.
You configure PresentationTraceSource to track errors in a bound TextBox control in the application.
You need to choose the window that the Trace information is sent to
Which Visual Studio window should you select ?
Which markup segment should you insert at line 05 ?
You are developing a Windows Presentation Foundation (WPF) application that display pricing and inventory.
List box’s ItemsSource property has decimal and string types. Decimals represent price and strings represents the folowing markup is defined as follows.
<Window xmlns:clr=”clr-namespace:System;assembly=mscorlib”>
<ListBox ItemsSource=”{Binding}”>
<ListBox.Resources>
</ListBox.Resources>
</ListBox>
</Window>
You need to ensure that data templates are used to format the strings without changes and the decimals as ..
Which markup segment should you insert at line 05 ?
What should you do ?
You are developing a Windows Forms application that contains a DataGridView control. The DataGridView capture the customer’s name, address, and phone number.
You have been asked to provide data validation in a DataGridView to prevent users from leaving the..
You need to ensure that users cannot tab out of the name field without entering data
What should you do ?
What should you do ?
….
set
{
_Data = value;
}
}
private void NofityPropertyChanged(string info)
{
if (PropertyChanged != null)
{
PropertyChanged(this, new PropertyChangedEventArgs(info));
}
}
The UI is not being updated when the Data property is set.
You need to ensure that the DisplayData class correctly updates the UI when the Data ..
What should you do ?
What should you do ?
You are developing a Windows Presentation Foundation (WPF) application that displays opportunities from List<T.. class named Lead. The Lead class contains the properties Title and Revenue.
You add a DataGrid control named dgQualifiedLeads to the MainWindow.xaml file. You set the ItemsSource property to Leads as follows.
ICollectionView Leads;
public MainWindow()
{
IntializeComponent();
Leads = CollectionViewSource.GetDefaultView(
new List<Lead>(
new Lead[]
{
new Lead() { Title = “Title1″, Revenue=”1234.33”},
new Lead() { Title = “Title2″, Revenue=”1234.33”},
new Lead() { Title = “Title3″, Revenue=”1234.33”},
new Lead() { Title = “Title4″, Revenue=”1234.33”},
new Lead() { Title = “Title5″, Revenue=”1234.33”}
}
));
dgQualifiedLeads.ItemsSource = Leads;
}
You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue …
What should you do ?