Class CloneManager
Represents the Clone Manager
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class CloneManager
Constructors
CloneManager()
Declaration
public CloneManager()
Methods
CloneBackStageButton(BackStageButton, Boolean)
Creates a clone of the specified BackStageButton as a RibbonButton.
Declaration
public static RibbonButton CloneBackStageButton(BackStageButton source, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| BackStageButton | source | The source BackStageButton to clone. |
| System.Boolean | isQATItem | Indicates whether the cloned button is intended for the Quick Access Toolbar (QAT).
If |
Returns
| Type | Description |
|---|---|
| RibbonButton | A new RibbonButton instance with properties and bindings copied from the source. |
CloneBackStageCommandButton(BackStageCommandButton, Boolean)
Creates a clone of the specified BackStageCommandButton.
Declaration
public static BackStageCommandButton CloneBackStageCommandButton(BackStageCommandButton source, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| BackStageCommandButton | source | The source BackStageCommandButton to clone. |
| System.Boolean | isQATItem | A boolean value indicating whether the cloned button is intended for the Quick Access Toolbar (QAT).
If |
Returns
| Type | Description |
|---|---|
| BackStageCommandButton | A new BackStageCommandButton instance with properties copied from the source,
or |
CloneBasic(Object)
Clones the basic.
Declaration
public static object CloneBasic(object source)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | The element. |
Returns
| Type | Description |
|---|---|
| System.Object | clones the basic |
CloneBasic(Object, Boolean)
Clones the basic.
Declaration
public static object CloneBasic(object source, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | The element. |
| System.Boolean | isQATItem |
Returns
| Type | Description |
|---|---|
| System.Object | clones the basic |
CloneGeneral(Object, Boolean)
Clones the general.
Declaration
public static UIElement CloneGeneral(object source, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | The target. |
| System.Boolean | isQATItem | if set to |
Returns
| Type | Description |
|---|---|
| System.Windows.UIElement | Clones the general |
ClonePropertyValues(Object, Object, Boolean)
Clones the Property value
Declaration
public static void ClonePropertyValues(object source, object target, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | source | The Item |
| System.Object | target | |
| System.Boolean | isQATItem | true if the item for QAT |
CloneRibbonButton(RibbonButton, Boolean)
Clones the ribbon button.
Declaration
public static RibbonButton CloneRibbonButton(RibbonButton source, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| RibbonButton | source | The button. |
| System.Boolean | isQATItem |
Returns
| Type | Description |
|---|---|
| RibbonButton | cloned the ribbon button |
CloneRibbonButton(RibbonCommandProvider, Boolean)
Creates a clone of a RibbonCommandProvider as a RibbonButton.
Declaration
public static RibbonButton CloneRibbonButton(RibbonCommandProvider source, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| RibbonCommandProvider | source | The source RibbonCommandProvider to clone. |
| System.Boolean | isQATItem | Indicates whether the cloned button is intended for the Quick Access Toolbar (QAT). |
Returns
| Type | Description |
|---|---|
| RibbonButton | A new RibbonButton instance with properties copied from the source. |
CloneRibbonCommandProvider(RibbonCommandProvider, Boolean)
Clones the ribbon button.
Declaration
public static RibbonButton CloneRibbonCommandProvider(RibbonCommandProvider source, bool isQATItem)
Parameters
| Type | Name | Description |
|---|---|---|
| RibbonCommandProvider | source | The button. |
| System.Boolean | isQATItem |
Returns
| Type | Description |
|---|---|
| RibbonButton | cloned the ribbon button |