Class ControlTheme
Defines a switchable theme for a control.
public class ControlTheme : StyleBase, INotifyPropertyChanged, IStyle, IResourceProvider, IResourceNode
- Inheritance
-
ControlTheme
- Implements
- Inherited Members
- Extension Methods
Constructors
ControlTheme()
Initializes a new instance of the ControlTheme class.
public ControlTheme()
ControlTheme(Type)
Initializes a new instance of the ControlTheme class.
public ControlTheme(Type targetType)
Parameters
targetType
TypeThe value for TargetType.
Properties
BasedOn
Gets or sets a control theme that is the basis of the current theme.
public ControlTheme? BasedOn { get; set; }
Property Value
TargetType
Gets or sets the type for which this control theme is intended.
public Type? TargetType { get; set; }
Property Value
Methods
ToString()
public override string ToString()