|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
Classe Style
Namespace: System.Windows
Assembly: PresentationFramework (em PresentationFramework.dll)
XMLNS para XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
O tipo Style expõe os membros a seguir.
| Nome | Descrição | |
|---|---|---|
![]() | Style() | |
![]() | Style(Type) | |
![]() | Style(Type, Style) |
| Nome | Descrição | |
|---|---|---|
![]() | BasedOn | |
![]() | Dispatcher | |
![]() | IsSealed | |
![]() | Resources | |
![]() | Setters | |
![]() | TargetType | |
![]() | Triggers |
| Nome | Descrição | |
|---|---|---|
![]() | CheckAccess | |
![]() | Equals(Object) | |
![]() | Finalize | |
![]() | GetHashCode | |
![]() | GetType | |
![]() | MemberwiseClone | |
![]() | RegisterName | |
![]() | Seal | |
![]() | ToString | |
![]() | UnregisterName | |
![]() | VerifyAccess |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | IAddChild.AddChild | Infraestrutura. |
![]() ![]() | IAddChild.AddText | Infraestrutura. |
![]() ![]() | INameScope.FindName | Infraestrutura. |
![]() ![]() | IQueryAmbient.IsAmbientPropertyAvailable |
Observação |
|---|
<Style x:Key="Style1"> <Setter Property="Control.Background" Value="Yellow"/> </Style>
<Label Content="Yellow Background" Style="{StaticResource Style1}" />
<Style TargetType="{x:Type TextBlock}"> <Setter Property="FontFamily" Value="Segoe Black" /> <Setter Property="HorizontalAlignment" Value="Center" /> <Setter Property="FontSize" Value="12pt" /> <Setter Property="Foreground" Value="#777777" /> </Style>
Observação |
|---|
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Função Server Core sem suporte), Windows Server 2008 R2 (Função Server Core com suporte com o SP1 ou posterior, Itanium sem suporte)
O .NET Framework não oferece suporte a todas as versões de cada plataforma. Para obter uma lista das versões com suporte, consulte .Requisitos de sistema do NET Framework.
