CommandBar.CommandBarOverflowPresenterStyle CommandBar.CommandBarOverflowPresenterStyle CommandBar.CommandBarOverflowPresenterStyle CommandBar.CommandBarOverflowPresenterStyle Property


Gets or sets the Style applied to the overflow content of the CommandBar.

public : Style CommandBarOverflowPresenterStyle { get; set; }
Style CommandBarOverflowPresenterStyle();

void CommandBarOverflowPresenterStyle(Style commandbaroverflowpresenterstyle);
public Style CommandBarOverflowPresenterStyle { get; set; }
Public ReadWrite Property CommandBarOverflowPresenterStyle As Style
<CommandBar CommandBarOverflowPresenterStyle={StaticResource styleResourceKey}/>

Property Value

The applied Style for the overflow content of the CommandBar, if present; otherwise, null. The default is null.


The Style element you use for a CommandBarOverflowPresenter value must specify TargetType="CommandBarOverflowPresenter".

You can style the properties of the internal CommandBarOverflowPresenter that is presenting the overflow content (SecondaryCommands ) of a CommandBar. The properties that can be styled are the dependency properties of the base ItemsControl class or Control class, such as FontSize or Padding, or base element properties such as FrameworkElement.Margin that the CommandBarOverflowPresenter class inherits.

See also