WPF

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

    Show / Hide Table of Contents

    Class RibbonCommandManager

    Registers connection between command and their RibbonCommandProvider.

    Inheritance
    System.Object
    RibbonCommandManager
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Tools.Controls
    Assembly: Syncfusion.Tools.Wpf.dll
    Syntax
    public static class RibbonCommandManager

    Fields

    SynchronizedItemProperty

    Defines Synchronizing item for Ribbon controls.

    Declaration
    public static readonly DependencyProperty SynchronizedItemProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty

    UniqueItemNameProperty

    Identifies the UniqueItemNameProperty dependency property.

    Declaration
    public static readonly DependencyProperty UniqueItemNameProperty
    Field Value
    Type Description
    System.Windows.DependencyProperty
    Remarks

    The identifier for the UniqueItemNameProperty dependency property.

    Properties

    CommandDictionary

    Gets the command dictionary.

    Declaration
    public static Dictionary<ICommand, RibbonCommandProvider> CommandDictionary { get; }
    Property Value
    Type Description
    System.Collections.Generic.Dictionary<System.Windows.Input.ICommand, RibbonCommandProvider>

    The command dictionary.

    Methods

    GetSynchronizedItem(DependencyObject)

    Gets the synchronized item.

    Declaration
    public static string GetSynchronizedItem(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    Returns
    Type Description
    System.String

    GetUniqueItemName(DependencyObject)

    Declaration
    public static string GetUniqueItemName(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.String

    Register(ICommand, RibbonCommandProvider)

    Registers connection between RibbonCommandProvider and specified System.Windows.Input.ICommand.

    Declaration
    public static void Register(ICommand command, RibbonCommandProvider provider)
    Parameters
    Type Name Description
    System.Windows.Input.ICommand command

    The System.Windows.Input.ICommand that will receive the UI provider.

    RibbonCommandProvider provider

    RibbonCommandProviderthat will apply to the command.

    SetSynchronizedItem(DependencyObject, String)

    Sets the synchronized item.

    Declaration
    public static void SetSynchronizedItem(DependencyObject obj, string value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj

    The obj.

    System.String value

    The value.

    SetUniqueItemName(DependencyObject, String)

    Declaration
    public static void SetUniqueItemName(DependencyObject obj, string value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.String value

    Unregister(ICommand)

    Unregisters connection between UI provider and specified System.Windows.Input.ICommand.

    Declaration
    public static void Unregister(ICommand command)
    Parameters
    Type Name Description
    System.Windows.Input.ICommand command

    The System.Windows.Input.ICommand which needs to be unregistered.

    UnregisterAll()

    Unregisters connections for all System.Windows.Input.ICommand objects.

    Declaration
    public static void UnregisterAll()
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved