Search Results for

    Show / Hide Table of Contents

    Class BinaryRibbonTabItem

    A custom control that renders and works like a tab item as is seen in MS Office Ribbon applications.

    Implements
    IBinaryRibbonKeyTipControl
    Namespace: Binarymission.WPF.Controls.Office
    Assembly: Binarymission.WPF.Controls.BinaryRibbon.dll
    Syntax
    public class BinaryRibbonTabItem : Control, IBinaryRibbonKeyTipControl

    Constructors

    BinaryRibbonTabItem()

    Initializes a new instance of the BinaryRibbonTabItem class.

    Declaration
    public BinaryRibbonTabItem()

    Properties

    AvailableRibbonGroups

    Gets the available ribbon groups.

    Declaration
    public Collection<BinaryRibbonGroup> AvailableRibbonGroups { get; }

    BackgroundColor

    Gets the color of the background.

    Declaration
    public Color BackgroundColor { get; }

    HeaderText

    Gets or sets the header text for the tab item header area text.

    Declaration
    public string HeaderText { get; set; }

    IsContextualTabItem

    Gets or sets a value indicating whether this instance is contextual tab item.

    Declaration
    public bool IsContextualTabItem { get; }

    IsCurrentlySelected

    Gets or sets a value indicating whether this instance is currently selected.

    Declaration
    public bool IsCurrentlySelected { get; }

    LogicalChildren

    Declaration
    protected override IEnumerator LogicalChildren { get; }

    RibbonPanel

    Gets or sets the associated BinaryRibbonBarPanel instance.

    Declaration
    public BinaryRibbonBarPanel RibbonPanel { get; }

    SmallImage

    Gets or sets the small image associated with this instance of control.

    Declaration
    public ImageSource SmallImage { get; set; }

    Methods

    EndInit()

    Indicates that the initialization process for the element is complete.

    Declaration
    public override void EndInit()
    Exceptions
    Type Condition
    InvalidOperationException

    EndInit() was called without BeginInit() having previously been called on the element.

    GetImageStretch(DependencyObject)

    Gets the image stretch.

    Declaration
    public static Stretch GetImageStretch(DependencyObject obj)
    Parameters
    Type Name Description
    DependencyObject obj

    The obj.

    Returns
    Type Description
    Stretch

    OnApplyTemplate()

    When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

    Declaration
    public override void OnApplyTemplate()

    OnKeyDown(KeyEventArgs)

    Declaration
    protected override void OnKeyDown(KeyEventArgs e)
    Parameters
    Type Name Description
    KeyEventArgs e

    OnMouseDoubleClick(MouseButtonEventArgs)

    Declaration
    protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    MouseButtonEventArgs e

    OnMouseLeftButtonDown(MouseButtonEventArgs)

    Declaration
    protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
    Parameters
    Type Name Description
    MouseButtonEventArgs e

    SetImageStretch(DependencyObject, Stretch)

    Sets the image stretch.

    Declaration
    public static void SetImageStretch(DependencyObject obj, Stretch value)
    Parameters
    Type Name Description
    DependencyObject obj

    The obj.

    Stretch value

    The value.

    Explicit Interface Implementations

    IBinaryRibbonKeyTipControl.PerformKeyTipExecute()

    Performs custom logic for the method PerformKeyTipExecute().

    Declaration
    void IBinaryRibbonKeyTipControl.PerformKeyTipExecute()

    Implements

    IBinaryRibbonKeyTipControl
    In This Article
    Back to top Copyright © Binarymission Technologies Ltd., UK.