Beispiel #1
0
 set => this.SetValue(CanCloseProperty, value);
 set => SetValue(CanCloseProperty, value);
Beispiel #3
0
 static LayoutAnchorableItem()
 {
     // #182: LayoutAnchorable initializes with CanClose == false. We therefore also override the metadata for LayoutAnchorableItem to match this.
     // Only the default value will be overriden. PropertyChangedCallbacks, etc should be unaffected.
     CanCloseProperty.OverrideMetadata(typeof(LayoutAnchorableItem), new FrameworkPropertyMetadata(false));
 }