Class TileBrush
Base class for brushes which display repeating images.
public abstract class TileBrush : Brush, INotifyPropertyChanged, ITileBrush, IBrush
- Inheritance
-
TileBrush
- Implements
- Derived
- Inherited Members
- Extension Methods
Fields
AlignmentXProperty
Defines the AlignmentX property.
public static readonly StyledProperty<AlignmentX> AlignmentXProperty
Field Value
AlignmentYProperty
Defines the AlignmentY property.
public static readonly StyledProperty<AlignmentY> AlignmentYProperty
Field Value
DestinationRectProperty
Defines the DestinationRect property.
public static readonly StyledProperty<RelativeRect> DestinationRectProperty
Field Value
SourceRectProperty
Defines the SourceRect property.
public static readonly StyledProperty<RelativeRect> SourceRectProperty
Field Value
StretchProperty
Defines the Stretch property.
public static readonly StyledProperty<Stretch> StretchProperty
Field Value
TileModeProperty
Defines the TileMode property.
public static readonly StyledProperty<TileMode> TileModeProperty
Field Value
Properties
AlignmentX
Gets or sets the horizontal alignment of a tile in the destination.
public AlignmentX AlignmentX { get; set; }
Property Value
AlignmentY
Gets or sets the horizontal alignment of a tile in the destination.
public AlignmentY AlignmentY { get; set; }
Property Value
DestinationRect
Gets or sets the rectangle on the destination in which to paint a tile.
public RelativeRect DestinationRect { get; set; }
Property Value
SourceRect
Gets or sets the rectangle of the source image that will be displayed.
public RelativeRect SourceRect { get; set; }
Property Value
Stretch
Gets or sets a value controlling how the source rectangle will be stretched to fill the destination rect.
public Stretch Stretch { get; set; }
Property Value
TileMode
Gets or sets the brush's tile mode.
public TileMode TileMode { get; set; }