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.Styles
Assembly: Syncfusion.Shared.Base.dll
Syntax
public interface IStyleCloneable
Remarks
This interface is only considered if the CloneablePropertyAttribute of
IsCloneable of the
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. |