示例#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(),
 };
示例#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(),
 };
示例#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(),
 };
示例#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
 };
示例#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()
 };
示例#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
 };
示例#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(),
     });
 }
示例#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,
 };
示例#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
 };
示例#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()
     });
 }
示例#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()
     });
 }
示例#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(),
 };
示例#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(),
 };
示例#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()
     });
 }
示例#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()
     });
 }
示例#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()
     });
 }
示例#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
 };
示例#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
 };
示例#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(),
     });
 }
示例#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()
     });
 }