Class BinaryRibbonGroup
A custom control class that acts like a "grouping" container for a set of Framework elements.
Implements
Namespace: Binarymission.WPF.Controls.Office
Assembly: Binarymission.WPF.Controls.BinaryRibbon.dll
Syntax
public class BinaryRibbonGroup : Control, IBinaryRibbonComponentCanRenderInReducedSizeState, IBinaryRibbonComponentCanDisplayImage, IBinaryRibbonKeyTipControl
Constructors
BinaryRibbonGroup()
Initializes a new instance of the BinaryRibbonGroup class.
Declaration
public BinaryRibbonGroup()
Fields
ExecuteModalDialogLauncherEvent
An event that gets raised when the modal dialog launcher button is clicked.
Declaration
public static readonly RoutedEvent ExecuteModalDialogLauncherEvent
Field Value
Type | Description |
---|---|
RoutedEvent |
Properties
CanShowModalDialog
Gets or sets a value indicating whether this instance can show modal dialog.
Declaration
public bool CanShowModalDialog { get; set; }
Controls
Gets the child controls collection.
Declaration
public Collection<UIElement> Controls { get; }
Image
Gets or sets the image.
Declaration
public ImageSource Image { get; set; }
IsDropDownActive
Gets or sets a value indicating whether drop-down window is active.
Declaration
public bool IsDropDownActive { get; set; }
IsMinimized
Gets or sets a value indicating whether this instance is minimized.
Declaration
public bool IsMinimized { get; set; }
IsTitleTextPaneVisible
Gets or sets whether to render the title text area.
Declaration
public bool IsTitleTextPaneVisible { get; set; }
ItemsPanel
Gets or sets the panel control for the items.
Declaration
public Panel ItemsPanel { get; set; }
LogicalChildren
Declaration
protected override IEnumerator LogicalChildren { get; }
ModalDialogLaunchCommand
Gets the modal dialog launch command.
Declaration
public static RoutedUICommand ModalDialogLaunchCommand { get; }
ResizingDepth
Gets or sets the resizing depth.
Declaration
public int ResizingDepth { get; set; }
TitleText
Gets or sets the title text.
Declaration
public string TitleText { get; set; }
ToolTipContent
Gets or sets the content for the super tooltip display.
Declaration
public object ToolTipContent { get; set; }
Methods
CollapseResizingLevel()
Collapses the resizing level.
Declaration
public bool CollapseResizingLevel()
Returns
Type | Description |
---|---|
Boolean |
DeterministicCloseCurrentOpenPopup()
A helper method to let deterministically close the currently open group popup window.
Declaration
public static void DeterministicCloseCurrentOpenPopup()
ExpandResizingLevel()
Expands the resizing level.
Declaration
public bool ExpandResizingLevel()
Returns
Type | Description |
---|---|
Boolean |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
Declaration
public override void OnApplyTemplate()
OnControlCollectionChanged(Object, NotifyCollectionChangedEventArgs)
Declaration
protected virtual void OnControlCollectionChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Object | sender | |
NotifyCollectionChangedEventArgs | e |
OnExecuteModalDialogLauncher(Object, RoutedEventArgs)
Declaration
protected virtual void OnExecuteModalDialogLauncher(object sender, RoutedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
Object | sender | |
RoutedEventArgs | e |
OnItemsPanelChanged(DependencyPropertyChangedEventArgs)
Declaration
protected virtual void OnItemsPanelChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DependencyPropertyChangedEventArgs | e |
OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)
Declaration
protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
KeyboardFocusChangedEventArgs | e |
ResetGroupSize()
Resets the size/depth of the group to defaults - i.e. to 0.
Declaration
public void ResetGroupSize()
Events
ExecuteModalDialogLauncher
Occurs when the modal dialog launcher button is clicked.
Declaration
public event RoutedEventHandler ExecuteModalDialogLauncher
Event Type
Type | Description |
---|---|
RoutedEventHandler |
Explicit Interface Implementations
IBinaryRibbonKeyTipControl.PerformKeyTipExecute()
Performs custom logic for the method PerformKeyTipExecute().
Declaration
void IBinaryRibbonKeyTipControl.PerformKeyTipExecute()