示例#1
0
 static HamburgerMenuEx()
 {
     DisplayModeProperty.OverrideMetadata(typeof(HamburgerMenuEx), new FrameworkPropertyMetadata(OnDisplayModePropertyChanged));
     IsPaneOpenProperty.OverrideMetadata(typeof(HamburgerMenuEx), new FrameworkPropertyMetadata(OnIsPaneOpenPropertyChanged));
     CompactPaneLengthProperty.OverrideMetadata(typeof(HamburgerMenuEx), new FrameworkPropertyMetadata(OnPaneLengthPropertyChanged));
     OpenPaneLengthProperty.OverrideMetadata(typeof(HamburgerMenuEx), new FrameworkPropertyMetadata(OnPaneLengthPropertyChanged));
 }
示例#2
0
 static LauncherSideMenu()
 {
     DisplayModeProperty.OverrideMetadata(typeof(LauncherSideMenu), new FrameworkPropertyMetadata(OnDisplayModePropertyChanged));
     IsPaneOpenProperty.OverrideMetadata(typeof(LauncherSideMenu), new FrameworkPropertyMetadata(OnIsPaneOpenPropertyChanged));
     CompactPaneLengthProperty.OverrideMetadata(typeof(LauncherSideMenu), new FrameworkPropertyMetadata(OnPaneLengthPropertyChanged));
     OpenPaneLengthProperty.OverrideMetadata(typeof(LauncherSideMenu), new FrameworkPropertyMetadata(OnPaneLengthPropertyChanged));
     SelectedItemProperty.OverrideMetadata(typeof(LauncherSideMenu), new FrameworkPropertyMetadata(OnSelectedItemPropertyChanged));
     SelectedOptionsItemProperty.OverrideMetadata(typeof(LauncherSideMenu), new FrameworkPropertyMetadata(OnSelectedItemPropertyChanged));
 }
 set => SetValue(OpenPaneLengthProperty, value);