WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Interface IStyleCloneable

    Show / Hide Table of Contents

    Interface IStyleCloneable

    Implement this interface if you want to assign this class to a StyleInfoBase object's property and you need to control whether the object should be cloned.

    Namespace: Syncfusion.Windows.Styles
    Assembly: Syncfusion.GridCommon.Wpf.dll
    Syntax
    public interface IStyleCloneable
    Remarks

    This interface is only considered if the CloneablePropertyAttribute of IsCloneable of the is True. (This is the default.)

    Methods

    Clone()

    Clones this object.

    Declaration
    object Clone()
    Returns
    Type Description
    System.Object

    A reference to a clone of this object.

    Dispose()

    Disposes this object.

    Declaration
    void Dispose()

    ShouldClone()

    Returns True if this object should be cloned if you assign it to a StyleInfoBase object's property; false otherwise.

    Declaration
    bool ShouldClone()
    Returns
    Type Description
    System.Boolean

    True if this object should be cloned if you assign it to a StyleInfoBase object's property; false otherwise.

    ShouldDispose()

    Returns True if this object should be disposed if it is reset in a StyleInfoBase object's property; false otherwise.

    Declaration
    bool ShouldDispose()
    Returns
    Type Description
    System.Boolean

    True if this object should be disposed if it is reset in a StyleInfoBase object's property; false otherwise.

    See Also

    IsCloneable
    CloneablePropertyAttribute
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved