Class BinaryRibbonComboBox
A customized combobox class that emulates the combobox control seen in MS Office Ribbon systems.
Implements
Namespace: Binarymission.WPF.Controls.Office
Assembly: Binarymission.WPF.Controls.BinaryRibbon.dll
Syntax
public class BinaryRibbonComboBox : ComboBox, IBinaryRibbonComponentCanRenderInReducedSizeState, IBinaryRibbonComponentCanDisplayImage, IBinaryRibbonComponentCanStretchAndBeRotated, IBinaryRibbonComponent, IBinaryRibbonKeyTipControl
Constructors
BinaryRibbonComboBox()
Initializes a new instance of the BinaryRibbonComboBox class.
Declaration
public BinaryRibbonComboBox()
Fields
DropDownClosedAndRibbonToRefresh
DropDownClosedAndRibbonToRefresh RoutedEvent instance.
Declaration
public static readonly RoutedEvent DropDownClosedAndRibbonToRefresh
Field Value
Type | Description |
---|---|
RoutedEvent |
Properties
BinaryRibbonTag
Gets or sets a generic tag.
Declaration
public object BinaryRibbonTag { get; set; }
ContentWidth
Gets or sets the width of the content.
Declaration
public double ContentWidth { get; set; }
DropDownFooterContent
Gets or sets the content of the drop-down window's footer.
Declaration
public object DropDownFooterContent { get; set; }
DropDownFooterContentDataTemplate
Gets or sets the drop-down footer content's DataTemplate
Declaration
public DataTemplate DropDownFooterContentDataTemplate { get; set; }
DropDownHeaderContent
Gets or sets the content of the drop-down window's header.
Declaration
public object DropDownHeaderContent { get; set; }
DropDownHeaderContentDataTemplate
Gets or sets the drop-down header content's DataTemplate.
Declaration
public DataTemplate DropDownHeaderContentDataTemplate { get; set; }
DropDownListContentWindowHeight
Gets or sets the height of the drop-down window content area's height - i.e. the Maximum drop-down window height - height of Header and footer content bits.
Declaration
public double DropDownListContentWindowHeight { get; set; }
Image
Gets or sets the image.
Declaration
public ImageSource Image { get; set; }
TitleText
Gets or sets the title text.
Declaration
public string TitleText { get; set; }
Methods
GetContainerForItemOverride()
Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type | Description |
---|---|
DependencyObject |
IsItemItsOwnContainerOverride(Object)
Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type | Name | Description |
---|---|---|
Object | item |
Returns
Type | Description |
---|---|
Boolean |
OnDropDownClosed(EventArgs)
Declaration
protected override void OnDropDownClosed(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
Events
DropDownClosedAndRibbonToRefreshHandler
Occurs when the drop-down is closed and the ribbon is to refresh.
Declaration
public event RoutedEventHandler DropDownClosedAndRibbonToRefreshHandler
Event Type
Type | Description |
---|---|
RoutedEventHandler |
Explicit Interface Implementations
IBinaryRibbonKeyTipControl.PerformKeyTipExecute()
Performs custom logic for the method PerformKeyTipExecute().
Declaration
void IBinaryRibbonKeyTipControl.PerformKeyTipExecute()