EnsurepassQUESTION 161 You are employed as an application developer at ABC.com. You make use of Microsoft .NET Framework 4 to develop Windows Forms applications. You have recently created a new application. You then wrote the code shown below: Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture; Which of the following options are TRUE with regards to the code?   A. The user interface will make use of the culture settings that are configured in the Control Panel at Read more [...]
EnsurepassQUESTION 151 You are developing a Windows Presentation Foundation (WPF) application. You need to ensure that the application includes a container control that supports logical scrolling by default. Which control should you select?   A.            StackPanel B.            WrapPanel C.            Grid D.            Read more [...]
EnsurepassQUESTION 141 You develop a Windows Presentation Foundation (WPF) application. This application is used to output data trends to customer service representatives. You use threading to keep the UI responsive. You have a function named UpdateUIthat updates all of the UI components. You use the following code to update the _Data variable. (Line numbers included for reference only.) You need to update the user interface without knowing if you are on the UI thread. Which code segment should Read more [...]
EnsurepassQUESTION 131 You are developing a Windows Presentation Foundation (WPF) application. The movement of a control within the application is animated. You need to ensure that the animated control is continually animated in one direction. What should you specify for the easing function of the animations?   A.            ElasticEase B.            SineEase C.            Read more [...]
EnsurepassQUESTION 121 You are developing a Windows Presentation Foundation (WPF) application to display loan types by bank and students by loan type. You add the following markup segment to the MainWindow.xaml file. (Line numbers are included for reference only.) You need to ensure that the data appears in hierarchical form in a TreeView control. What should you do?   A.    At line 09, set the Resource Key to Students. At line 15, set the Resource Key to LoanList B.    Read more [...]
EnsurepassQUESTION 111 You have a custom button, with should have a Property "IsActive", one must be able to bind this Property on a class Property A.    Dependency Property B.    INotifyPropertyChanged C.    net Property   Correct Answer: B     QUESTION 112 You have defined a style in app.xaml <Style x:Key="A" x:Name="B" ... </Style> You want to use this style in your application in code behind. How can you achieve this? Read more [...]
EnsurepassQUESTION 101 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? A.    Validate the name field in the CellValidatingevent. Set e.Cancel = trueif the name field is Read more [...]
EnsurepassQUESTION 91 You are developing a Windows Presentation Foundation (WPF) application The application is for commercial use and requires a valid license key to be entered. You create a project type of Class Library code to validate license keys. You need to ensure that the user enters a valid license key during installation of the software. Which deployment should reference the class library?   A.    Click Once B.    Setup Project C.    Read more [...]
EnsurepassQUESTION 81 You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.  You plan to use a PresentationTraceSources object when the application is executed by users. When the application is executed in a test environment, all debug information is successfully captured. You need to be able to capture debug information when the application is deployed. What should you do?   A.    Enable WPF Read more [...]
EnsurepassQUESTION 71 You use Microsoft .NET Framework 4 to create a Windows Forms application. The application includes a RichTextBoxcontrol and a ListBoxcontrol. The ListBoxcontrol is populated with a list of valid file names. The application allows users to drag a ListBox item to the RichTextBoxcontrol. You need to provide a visual indication that a file that is dragged can be dropped on the RichTextBoxcontrol. What should you do?   A.    Use a DoubleAnimationclass. B.    Read more [...]
EnsurepassQUESTION 61 You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a DataGridViewthat is bound to a DataTablecontaining a column named ProductName. The ProductNamecolumn can contain any valid string, except "ProductX," "ProductY," "ProductZ." You need to ensure that only valid entries for ProductNameare saved when users edit the DataGridView. Which DataGridViewevent should you use?   A.    CellBeginEdit B.    Invalidated Read more [...]