Exemplo n.º 1
0
 public override object Clone() => new ListBoxItemColorTheme()
 {
     Normal    = Normal.Clone(),
     Disabled  = Disabled.Clone(),
     MouseOver = MouseOver.Clone(),
     MouseDown = MouseDown.Clone(),
     Selected  = Selected.Clone(),
     Focused   = Focused.Clone(),
 };
Exemplo n.º 2
0
 /// <summary>
 /// Performs a deep copy of this theme.
 /// </summary>
 /// <returns>A new instance of the theme.</returns>
 public ThemeStates Clone() => new ThemeStates()
 {
     Normal    = Normal.Clone(),
     Disabled  = Disabled.Clone(),
     MouseOver = MouseOver.Clone(),
     MouseDown = MouseDown.Clone(),
     Selected  = Selected.Clone(),
     Focused   = Focused.Clone(),
 };
Exemplo n.º 3
0
 public virtual object Clone() => new ListBoxItemTheme()
 {
     Normal    = Normal.Clone(),
     Disabled  = Disabled.Clone(),
     MouseOver = MouseOver.Clone(),
     MouseDown = MouseDown.Clone(),
     Selected  = Selected.Clone(),
     Focused   = Focused.Clone(),
 };
Exemplo n.º 4
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new DrawingSurfaceTheme()
 {
     Normal             = Normal.Clone(),
     Disabled           = Disabled.Clone(),
     MouseOver          = MouseOver.Clone(),
     MouseDown          = MouseDown.Clone(),
     Selected           = Selected.Clone(),
     Focused            = Focused.Clone(),
     UseNormalStateOnly = UseNormalStateOnly
 };
Exemplo n.º 5
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ProgressBarTheme()
 {
     Normal     = Normal.Clone(),
     Disabled   = Disabled.Clone(),
     MouseOver  = MouseOver.Clone(),
     MouseDown  = MouseDown.Clone(),
     Selected   = Selected.Clone(),
     Focused    = Focused.Clone(),
     Foreground = Foreground?.Clone(),
     Background = Background?.Clone()
 };
Exemplo n.º 6
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ButtonTheme()
 {
     Normal            = Normal.Clone(),
     Disabled          = Disabled.Clone(),
     MouseOver         = MouseOver.Clone(),
     MouseDown         = MouseDown.Clone(),
     Selected          = Selected.Clone(),
     Focused           = Focused.Clone(),
     ShowEnds          = ShowEnds,
     EndCharacterLeft  = EndCharacterLeft,
     EndCharacterRight = EndCharacterRight
 };
Exemplo n.º 7
0
 /// <inheritdoc />
 public override ThemeBase Clone()
 {
     return(new DrawingSurfaceTheme()
     {
         Normal = Normal.Clone(),
         Disabled = Disabled.Clone(),
         MouseOver = MouseOver.Clone(),
         MouseDown = MouseDown.Clone(),
         Selected = Selected.Clone(),
         Focused = Focused.Clone(),
     });
 }
Exemplo n.º 8
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ListBoxTheme((ScrollBarTheme)ScrollBarTheme.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,
 };
Exemplo n.º 9
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new LabelTheme()
 {
     Normal                 = Normal.Clone(),
     Disabled               = Disabled.Clone(),
     MouseOver              = MouseOver.Clone(),
     MouseDown              = MouseDown.Clone(),
     Selected               = Selected.Clone(),
     Focused                = Focused.Clone(),
     UseNormalStateOnly     = UseNormalStateOnly,
     DecoratorStrikethrough = DecoratorStrikethrough,
     DecoratorUnderline     = DecoratorUnderline
 };
Exemplo n.º 10
0
 public override object Clone()
 {
     return(new TextBoxTheme()
     {
         Normal = Normal.Clone(),
         Disabled = Disabled.Clone(),
         MouseOver = MouseOver.Clone(),
         MouseDown = MouseDown.Clone(),
         Selected = Selected.Clone(),
         Focused = Focused.Clone(),
         CaretEffect = CaretEffect.Clone()
     });
 }
Exemplo n.º 11
0
 /// <inheritdoc />
 public override object Clone()
 {
     return(new Button3dTheme()
     {
         Normal = Normal.Clone(),
         Disabled = Disabled.Clone(),
         MouseOver = MouseOver.Clone(),
         MouseDown = MouseDown.Clone(),
         Selected = Selected.Clone(),
         Focused = Focused.Clone(),
         Shade = Shade.Clone()
     });
 }
Exemplo n.º 12
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new RadioButtonTheme()
 {
     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(),
 };
Exemplo n.º 13
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(),
 };
Exemplo n.º 14
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()
     });
 }
Exemplo n.º 15
0
 /// <inheritdoc />
 public override ThemeBase Clone()
 {
     return(new ButtonLinesTheme()
     {
         Normal = Normal.Clone(),
         Disabled = Disabled.Clone(),
         MouseOver = MouseOver.Clone(),
         MouseDown = MouseDown.Clone(),
         Selected = Selected.Clone(),
         Focused = Focused.Clone(),
         TopLeftLineColors = TopLeftLineColors.Clone(),
         BottomRightLineColors = BottomRightLineColors.Clone()
     });
 }
Exemplo n.º 16
0
 /// <summary>
 /// Returns a clone of this object.
 /// </summary>
 /// <returns>The cloned object.</returns>
 public override object Clone()
 {
     return(new ProgressBarTheme()
     {
         Normal = Normal.Clone(),
         Disabled = Disabled.Clone(),
         MouseOver = MouseOver.Clone(),
         MouseDown = MouseDown.Clone(),
         Selected = Selected.Clone(),
         Focused = Focused.Clone(),
         Foreground = Foreground.Clone(),
         Background = Background.Clone()
     });
 }
Exemplo n.º 17
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ButtonLinesTheme()
 {
     Normal                = Normal.Clone(),
     Disabled              = Disabled.Clone(),
     MouseOver             = MouseOver.Clone(),
     MouseDown             = MouseDown.Clone(),
     Selected              = Selected.Clone(),
     Focused               = Focused.Clone(),
     TopLeftLineColors     = TopLeftLineColors.Clone(),
     BottomRightLineColors = BottomRightLineColors.Clone(),
     ShowEnds              = ShowEnds,
     EndCharacterLeft      = EndCharacterLeft,
     EndCharacterRight     = EndCharacterRight,
     UseExtended           = UseExtended
 };
Exemplo n.º 18
0
 /// <inheritdoc />
 public override ThemeBase Clone() => new ScrollBarTheme()
 {
     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
 };
Exemplo n.º 19
0
 /// <summary>
 /// Returns a clone of this object.
 /// </summary>
 /// <returns>The cloned object.</returns>
 public override object Clone()
 {
     return(new RadioButtonTheme()
     {
         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(),
     });
 }
Exemplo n.º 20
0
 /// <summary>
 /// Returns a clone of this object.
 /// </summary>
 /// <returns>The cloned object.</returns>
 public override object Clone()
 {
     return(new ListBoxTheme()
     {
         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,
         ItemTheme = (ListBoxItemTheme)ItemTheme.Clone(),
         ScrollBarTheme = (ScrollBarTheme)ScrollBarTheme.Clone()
     });
 }