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)); }
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);