单项选择题
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.
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 ?()
A.
B.
C.
D.
相关考题
-
单项选择题
You are developing a Windows Forms application that contains a DataGridView control. The DataGridView capture the customers 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 ?()
A. Validate the name field in the CellValidating event. Set e.Cancel = true if the name field is
B. Validate the name field in the CellErrorTextChanged event. Get e.RowIndex if the name field ..
C. Validate the name field in the CellEnter event. Set the focus on the name field if the name ...
D. Validate the name field in the CancelRowEdit event. Set the focus on the name field if the name ... -
单项选择题
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 ?()
A. Insert the followiing code at line 14 NotifyPropertyChanged("Data");
B. Insert the followiing code at line 16 NotifyPropertyChanged("Data");
C. Insert the followiing code at line 14 NotifyPropertyChanged(value);
D. Insert the followiing code at line 16 NotifyPropertyChanged(value); -
单项选择题
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. You need to ensure that CollectionViewSource is used to filter the list to display only Lead objects with revenue ... What should you do ?()
A.
B.
C.
D.
