CommandBar.CommandBarOverflowPresenterStyle Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the Style applied to the overflow content of the CommandBar.
public:
property Style ^ CommandBarOverflowPresenterStyle { Style ^ get(); void set(Style ^ value); };
Style CommandBarOverflowPresenterStyle();
void CommandBarOverflowPresenterStyle(Style value);
public Style CommandBarOverflowPresenterStyle { get; set; }
var style = commandBar.commandBarOverflowPresenterStyle;
commandBar.commandBarOverflowPresenterStyle = style;
Public Property CommandBarOverflowPresenterStyle As Style
<CommandBar CommandBarOverflowPresenterStyle={StaticResource styleResourceKey}/>
- or -
<CommandBar>
<CommandBar.CommandBarOverflowPresenterStyle>
<Style TargetType="CommandBarOverflowPresenter">
oneOrMoreSetters
</Style>
</CommandBar.CommandBarOverflowPresenterStyle>
</CommandBar>
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.
Product | Versions |
---|---|
WinRT | Build 10240, Build 10586, Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |