public override object Clone() => new ListBoxItemColorTheme() { Normal = Normal.Clone(), Disabled = Disabled.Clone(), MouseOver = MouseOver.Clone(), MouseDown = MouseDown.Clone(), Selected = Selected.Clone(), Focused = Focused.Clone(), };
public JwSilderBarThemeStatus Clone() { var r = new JwSilderBarThemeStatus(); r.Normal = Normal.Clone(); r.Active = Active.Clone(); r.Disable = Disable.Clone(); return(r); }
/// <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(), };
public virtual object Clone() => new ListBoxItemTheme() { Normal = Normal.Clone(), Disabled = Disabled.Clone(), MouseOver = MouseOver.Clone(), MouseDown = MouseDown.Clone(), Selected = Selected.Clone(), Focused = Focused.Clone(), };
/// <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 };
/// <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() };
/// <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 };
/// <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, };
/// <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(), }); }
/// <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 };
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() }); }
/// <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() }); }
/// <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(), };
/// <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(), };
/// <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() }); }
/// <summary> /// Copies this instance. Does not include reference lists. /// </summary> /// <returns>PolygonalFace.</returns> public PolygonalFace Copy() { return(new PolygonalFace { Area = Area, Center = (double[])Center.Clone(), Curvature = Curvature, Color = Color, PartOfConvexHull = PartOfConvexHull, Edges = new List <Edge>(), Normal = (double[])Normal.Clone(), Vertices = new List <Vertex>() }); }
/// <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() }); }
/// <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() }); }
/// <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 };
/// <summary> /// Create a deep clone for this object. /// </summary> /// <returns>A clone of this object.</returns> public PagerItemOptionsSet Clone() { var result = (PagerItemOptionsSet)MemberwiseClone(); result.Default = Default.Clone(); result.Current = Current.Clone(); result.Normal = Normal.Clone(); result.Omitted = Omitted.Clone(); result.FirstPageButton = FirstPageButton.Clone(); result.LastPageButton = LastPageButton.Clone(); result.PreviousPageButton = PreviousPageButton.Clone(); result.NextPageButton = NextPageButton.Clone(); return(result); }
/// <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 };
/// <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(), }); }
/// <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() }); }