Class TileBrush
Base class that describes a way to paint a region.
Inherited Members
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public abstract class TileBrush : Brush, IDependencyObject
Constructors
| Improve this Doc View SourceTileBrush()
Provides initialization for base class values when called by the constructor of a derived class.
Declaration
protected TileBrush()
Fields
| Improve this Doc View SourceAlignmentXProperty
Identifies the AlignmentX dependency property.
Declaration
public static readonly DependencyProperty AlignmentXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
AlignmentYProperty
Identifies the AlignmentY dependency property.
Declaration
public static readonly DependencyProperty AlignmentYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
StretchProperty
Identifies the Stretch dependency property.
Declaration
public static readonly DependencyProperty StretchProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceAlignmentX
Gets or sets the horizontal alignment of content in the TileBrush base file.
Declaration
public AlignmentX AlignmentX { get; set; }
Property Value
Type | Description |
---|---|
AlignmentX | A value that specifies the horizontal position of TileBrush content in its base tile. The default value is Center. |
AlignmentY
Gets or sets the vertical alignment of content in the TileBrush base file.
Declaration
public AlignmentY AlignmentY { get; set; }
Property Value
Type | Description |
---|---|
AlignmentY | A value that specifies the vertical position of TileBrush content in its base tile. The default value is Center. |
Stretch
Gets or sets a value that specifies how the content of this TileBrush stretches to fit its tiles.
Declaration
public Stretch Stretch { get; set; }
Property Value
Type | Description |
---|---|
Stretch | A value that specifies how this TileBrush content is projected onto its base tile. The default value is Fill. |