Exemple #1
0
        public StyleService(StyleBase style)
        {
            Style    = style;
            Setters  = new StyleServiceSetterCollection(this);
            Triggers = new StyleServiceTriggerCollection(this);

            Update();

            _nativeStyleSource = new NativeStyleSource(this);
        }
Exemple #2
0
 public static IEnumerable <StyleBase> EnumerateBaseStylesAndSelf(this StyleBase style)
 {
     return(StyleBase.EnumerateBaseStylesAndSelf(style));
 }