Ejemplo n.º 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));
     SelectedItemProperty.OverrideMetadata(typeof(HamburgerMenuEx), new FrameworkPropertyMetadata(OnSelectedItemPropertyChanged));
     SelectedOptionsItemProperty.OverrideMetadata(typeof(HamburgerMenuEx), new FrameworkPropertyMetadata(OnSelectedItemPropertyChanged));
 }
Ejemplo n.º 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));
 }