static ThemeSelectorLayoutControl()
        {
            Type ownerType = typeof(ThemeSelectorLayoutControl);

            SelectedValueProperty = DependencyProperty.Register("SelectedValue", typeof(object), ownerType, new PropertyMetadata(null,
                                                                                                                                 (d, e) => ((ThemeSelectorLayoutControl)d).RaiseSelectedValueChanged(e)));
            BackgroundContentProperty = DependencyProperty.Register("BackgroundContent", typeof(object), ownerType, new PropertyMetadata(null));
            StickContentProperty      = DependencyProperty.Register("StickContent", typeof(object), ownerType, new PropertyMetadata(null));
            ValueTemplateProperty     = DependencyProperty.Register("ValueTemplate", typeof(DataTemplate), ownerType, new PropertyMetadata(null));
            CloseContentProperty      = DependencyProperty.Register("CloseContent", typeof(object), ownerType, new PropertyMetadata(null));
            TextTemplateProperty      = DependencyProperty.Register("TextTemplate", typeof(DataTemplate), ownerType, new PropertyMetadata(null));
            SelectingProgressProperty = DependencyProperty.Register("SelectingProgress", typeof(double), ownerType, new PropertyMetadata(0.0,
                                                                                                                                         (d, e) => ((ThemeSelectorLayoutControl)d).RaiseSelectingProgressChanged(e)));
            Value0Property             = DependencyProperty.Register("Value0", typeof(object), ownerType, new PropertyMetadata(null));
            Value1Property             = DependencyProperty.Register("Value1", typeof(object), ownerType, new PropertyMetadata(null));
            Value2Property             = DependencyProperty.Register("Value2", typeof(object), ownerType, new PropertyMetadata(null));
            Value3Property             = DependencyProperty.Register("Value3", typeof(object), ownerType, new PropertyMetadata(null));
            Value4Property             = DependencyProperty.Register("Value4", typeof(object), ownerType, new PropertyMetadata(null));
            Value5Property             = DependencyProperty.Register("Value5", typeof(object), ownerType, new PropertyMetadata(null));
            DoSelectStoryboardProperty = StoryboardProperty.Register("DoSelectStoryboard", ownerType, null,
                                                                     (d, e) => ((ThemeSelectorLayoutControl)d).RaiseDoSelectStoryboardChanged(e));
        }
Exemple #2
0
 set => this.SetValue(StoryboardProperty, value);
Exemple #3
0
 set => SetValue(StoryboardProperty, value);