Ejemplo n.º 1
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ProgressBarTheme()
 {
     Colors     = Colors?.Clone(),
     Normal     = Normal.Clone(),
     Disabled   = Disabled.Clone(),
     MouseOver  = MouseOver.Clone(),
     MouseDown  = MouseDown.Clone(),
     Selected   = Selected.Clone(),
     Focused    = Focused.Clone(),
     Foreground = Foreground.Clone(),
     Background = Background.Clone()
 };
Ejemplo n.º 2
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new LabelTheme()
 {
     Colors                 = Colors?.Clone(),
     Normal                 = Normal.Clone(),
     Disabled               = Disabled.Clone(),
     MouseOver              = MouseOver.Clone(),
     MouseDown              = MouseDown.Clone(),
     Selected               = Selected.Clone(),
     Focused                = Focused.Clone(),
     UseNormalStateOnly     = UseNormalStateOnly,
     DecoratorStrikethrough = DecoratorStrikethrough,
     DecoratorUnderline     = DecoratorUnderline
 };
Ejemplo n.º 3
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ButtonTheme()
 {
     Colors            = Colors?.Clone(),
     Normal            = Normal.Clone(),
     Disabled          = Disabled.Clone(),
     MouseOver         = MouseOver.Clone(),
     MouseDown         = MouseDown.Clone(),
     Selected          = Selected.Clone(),
     Focused           = Focused.Clone(),
     ShowEnds          = ShowEnds,
     EndCharacterLeft  = EndCharacterLeft,
     EndCharacterRight = EndCharacterRight
 };
Ejemplo n.º 4
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new CheckBoxTheme()
 {
     Colors        = Colors?.Clone(),
     Normal        = Normal.Clone(),
     Disabled      = Disabled.Clone(),
     MouseOver     = MouseOver.Clone(),
     MouseDown     = MouseDown.Clone(),
     Selected      = Selected.Clone(),
     Focused       = Focused.Clone(),
     CheckedIcon   = CheckedIcon.Clone(),
     UncheckedIcon = UncheckedIcon.Clone(),
     LeftBracket   = LeftBracket.Clone(),
     RightBracket  = RightBracket.Clone(),
 };
Ejemplo n.º 5
0
 /// <inheritdoc />
 public override ThemeBase Clone()
 {
     return(new Button3dTheme()
     {
         Colors = Colors.Clone(),
         Normal = Normal.Clone(),
         Disabled = Disabled.Clone(),
         MouseOver = MouseOver.Clone(),
         MouseDown = MouseDown.Clone(),
         Selected = Selected.Clone(),
         Focused = Focused.Clone(),
         Shade = Shade.Clone()
     });
 }
Ejemplo n.º 6
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ScrollBarTheme()
 {
     Colors    = Colors?.Clone(),
     Normal    = Normal.Clone(),
     Disabled  = Disabled.Clone(),
     MouseOver = MouseOver.Clone(),
     MouseDown = MouseDown.Clone(),
     Selected  = Selected.Clone(),
     Focused   = Focused.Clone(),
     StartButtonVerticalGlyph   = StartButtonVerticalGlyph,
     EndButtonVerticalGlyph     = EndButtonVerticalGlyph,
     StartButtonHorizontalGlyph = StartButtonHorizontalGlyph,
     EndButtonHorizontalGlyph   = EndButtonHorizontalGlyph,
     BarGlyph    = BarGlyph,
     SliderGlyph = SliderGlyph
 };
Ejemplo n.º 7
0
 /// <inheritdoc />
 public override ThemeBase Clone()
 {
     return(new ListBoxTheme((ScrollBarTheme)ScrollBarTheme.Clone())
     {
         Colors = Colors?.Clone(),
         Normal = Normal.Clone(),
         Disabled = Disabled.Clone(),
         MouseOver = MouseOver.Clone(),
         MouseDown = MouseDown.Clone(),
         Selected = Selected.Clone(),
         Focused = Focused.Clone(),
         BorderTheme = BorderTheme.Clone(),
         BorderLineStyle = (int[])BorderLineStyle.Clone(),
         DrawBorder = DrawBorder,
     });
 }