alexa
menu

WPF

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

    Show / Hide Table of Contents

    Class CloneManager

    Represents the Clone Manager

    Inheritance
    System.Object
    CloneManager
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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 true, the button is resized and its small icon binding is cleared.

    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 true, the button is resized and icons are adjusted accordingly.

    Returns
    Type Description
    BackStageCommandButton

    A new BackStageCommandButton instance with properties copied from the source, or null if cloning fails.

    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 true [needs sizing].

    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

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