Show / Hide Table of Contents

Class TileBrush

Base class that describes a way to paint a region.

Inheritance
System.Object
DependencyObject
Brush
TileBrush
WebBrowserBrush
ImageBrush
VideoBrush
Inherited Members
Brush.OpacityProperty
Brush.Opacity
Brush.RelativeTransformProperty
Brush.RelativeTransform
Brush.TransformProperty
Brush.Transform
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public abstract class TileBrush : Brush, IDependencyObject

Constructors

| Improve this Doc View Source

TileBrush()

Provides initialization for base class values when called by the constructor of a derived class.

Declaration
protected TileBrush()

Fields

| Improve this Doc View Source

AlignmentXProperty

Identifies the AlignmentX dependency property.

Declaration
public static readonly DependencyProperty AlignmentXProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

AlignmentYProperty

Identifies the AlignmentY dependency property.

Declaration
public static readonly DependencyProperty AlignmentYProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

StretchProperty

Identifies the Stretch dependency property.

Declaration
public static readonly DependencyProperty StretchProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

AlignmentX

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source