Show / Hide Table of Contents

Class Style

Style implements features for changing visual appearance of controls by changing values of properties based on triggers and setters

Inheritance
System.Object
Style
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: EmptyKeys.UserInterface
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class Style

Constructors

Style()

Initializes a new instance of the Style class.

Declaration
public Style()

Style(Type)

Initializes a new instance of the Style class.

Declaration
public Style(Type targetType)
Parameters
Type Name Description
System.Type targetType

Type of the target.

Style(Type, Style)

Initializes a new instance of the Style class.

Declaration
public Style(Type targetType, Style basedOn)
Parameters
Type Name Description
System.Type targetType

Type of the target.

Style basedOn

The based on.

Properties

BasedOn

Gets the based on.

Declaration
public Style BasedOn { get; }
Property Value
Type Description
Style

The based on.

IsSealed

Gets a value indicating whether this instance is sealed.

Declaration
public bool IsSealed { get; }
Property Value
Type Description
System.Boolean

true if this instance is sealed; otherwise, false.

Setters

Gets the setters.

Declaration
public List<Setter> Setters { get; }
Property Value
Type Description
System.Collections.Generic.List<Setter>

The setters.

TargetType

Gets or sets the type of the target.

Declaration
public Type TargetType { get; set; }
Property Value
Type Description
System.Type

The type of the target.

Triggers

Gets the triggers.

Declaration
public List<TriggerBase> Triggers { get; }
Property Value
Type Description
System.Collections.Generic.List<TriggerBase>

The triggers.

Methods

GetHashCode()

Returns a hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides
System.Object.GetHashCode()

Seal()

Seals this instance.

Declaration
public void Seal()
Back to top Generated by DocFX