Provides customization dialogs for RadCommandBar.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class CommandBarCustomizeDialogProvider
Inheritance: objectCommandBarCustomizeDialogProvider
Constructors
public CommandBarCustomizeDialogProvider()
Properties
Gets or sets the provider used to create command-bar customization dialogs. Assign null to restore the default provider.
[Browsable(false)]
public static CommandBarCustomizeDialogProvider CurrentProvider { get; set; }
Methods
Raises CustomizeDialogOpened immediately before the dialog is shown modally.
protected static void OnDialogOpened(object sender)
The customization dialog about to be shown.
Raises CustomizeDialogOpening and reports whether a handler canceled the dialog.
Creates and shows the command-bar customization dialog as a modal window.
public virtual Form ShowCustomizeDialog(object sender, CommandBarStripInfoHolder infoHolder)
The object used to choose the initial page and inherit appearance settings. A RadCommandBar selects the strips page, and a CommandBarStripElement selects the item page. A RadControl or an element attached to one supplies the theme and reading direction; a detached element supplies only the reading direction.
infoHolderCommandBarStripInfoHolderThe strip and item information used to populate the customization dialog.
Returns:The dialog after its modal display finishes, or null if CustomizeDialogOpening cancels it.
Events
Fires when the current dialog provider has changed.
public static event EventHandler CurrentProviderChanged
Occurs immediately before the customization dialog is shown modally.
public static event EventHandler CustomizeDialogOpened
Fires before a customize dialog is shown
public static event CancelEventHandler CustomizeDialogOpening