Condividi tramite


CommandBar.CommandBarOverflowPresenterStyle Proprietà

Definizione

Ottiene o imposta lo stile applicato al contenuto overflow di 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>

Valore della proprietà

Stile applicato per il contenuto overflow di CommandBar, se presente; in caso contrario, Null. Il valore predefinito è Null.

Commenti

L'elemento Style usato per un valore CommandBarOverflowPresenter deve specificare TargetType="CommandBarOverflowPresenter".

È possibile modificare lo stile delle proprietà dell'oggetto CommandBarOverflowPresenter interno che presenta il contenuto overflow (SecondaryCommands) di un CommandBar. Le proprietà che possono essere stiliate sono le proprietà di dipendenza della classe ItemsControl di base o della classe Control , ad esempio FontSize o Padding o proprietà dell'elemento base, ad esempio FrameworkElement.Margin ereditata dalla classe CommandBarOverflowPresenter .

Si applica a

Vedi anche