How to prevent Databinding Leaks?
By [)ia6l0 iii
Databinding leaks can happen when you use a property in the Path which is not a dependency property and a class that does not implement INotifyPropertyChanged event.
Apart from the workarounds mentioned in KB 938416, you can choose to call the ClearBinding
method on the control when the window is about to close.
e.g., BindingOperations.ClearBinding(sampleTextBlock, TextBlock.TextProperty);
The following code sample shows you how.
To highlight alternate rows in a XamDataGrid use the ""HighlightAlternateRecords"" property.
The Line object derives from the Shape class and is defined by the X and Y attributes (X1, Y1, X2, and Y2)
You can use the "BasedOn" property of a Style to inherit another style on a style. See the following example.
Use the AllowGroupBy property in the FieldSettings of XamDataGrid to control the GroupBy operations in the UI.
Silverlight applications run out of the browser at times, there is a call to figure out this.
How to prevent Databinding Leaks? (2022 Views)