Exemple #1
0
 internal RuntimeSetterCollection(StyleServiceSetterCollection setters, InteractivityService interactivityServicee) : base(interactivityServicee.ActualStyleRoot)
 {
     foreach (var setter in setters)
     {
         Add(setter.DeepClone <SetterBase>());
     }
 }
Exemple #2
0
        public StyleService(StyleBase style)
        {
            Style    = style;
            Setters  = new StyleServiceSetterCollection(this);
            Triggers = new StyleServiceTriggerCollection(this);

            Update();

            _nativeStyleSource = new NativeStyleSource(this);
        }