![]() ![]() / public static void SetHandleDoubleClick(DependencyObject d,ĭ.SetValue(HandleDoubleClickProperty, value) / /// Sets the HandleDoubleClick property. Return ( bool)d.GetValue(HandleDoubleClickProperty) / public static bool GetHandleDoubleClick(DependencyObject d) / /// Gets the HandleDoubleClick property. Typeof(SelectorDoubleClickCommandBehavior), / /// HandleDoubleClick Attached Dependency Property /// public static readonly DependencyProperty / public static void SetCommandParameter(DependencyObject d,ĭ.SetValue(CommandParameterProperty, value) Return ( bool)d.GetValue(CommandParameterProperty) / public static object GetCommandParameter(DependencyObject d) public static readonly DependencyPropertyĭependencyProperty.RegisterAttached( "CommandParameter", typeof( object), typeof(SelectorDoubleClickCommandBehavior), new UIPropertyMetadata( null)) This enables animation, styling, binding, etc. Using a DependencyProperty as the backing store for MyProperty. / /// Selector MouseDoubleClick calling ViewModel ICommand /// public static class SelectorDoubleClickCommandBehavior ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |