TileBrush class

Applies to Windows and Windows Phone

Base class that describes a way to paint a region. Parent of ImageBrush.

Inheritance

Object
  DependencyObject
    Brush
      TileBrush

Syntax


public class TileBrush : Brush

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The TileBrush class has these types of members:

Constructors

The TileBrush class has these constructors.

ConstructorDescription
TileBrush Provides base class initialization behavior for TileBrush-derived classes.

 

Methods

The TileBrush class has these methods. It also inherits methods from the Object class.

MethodDescription
ClearValue Clears the local value of a dependency property. (Inherited from DependencyObject)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject)
SetValue Sets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject)

 

Properties

The TileBrush class has these properties.

PropertyAccess typeDescription

AlignmentX

Read/writeGets or sets the horizontal alignment of content in the TileBrush base tile.

AlignmentXProperty

Read-onlyIdentifies the AlignmentX dependency property.

AlignmentY

Read/writeGets or sets the vertical alignment of content in the TileBrush base tile.

AlignmentYProperty

Read-onlyIdentifies the AlignmentY dependency property.

Dispatcher

Read-onlyGets the CoreDispatcher that this object is associated with. (Inherited from DependencyObject)

Opacity

Read/writeGets or sets the degree of opacity of a Brush. (Inherited from Brush)

RelativeTransform

Read/writeGets or sets the transformation that is applied to the brush using relative coordinates. (Inherited from Brush)

Stretch

Read/writeGets or sets a value that specifies how the content of this TileBrush stretches to fit its tiles.

StretchProperty

Read-onlyIdentifies the Stretch dependency property.

Transform

Read/writeGets or sets the transformation that is applied to the brush. (Inherited from Brush)

 

Remarks

TileBrush derived classes

TileBrush is the parent class for ImageBrush and WebViewBrush. The Windows Runtime XAML vocabulary doesn't support VideoBrush. If you're porting Microsoft Silverlight XAML, WebViewBrush approximately replaces WebBrowserBrush, but be aware that there are "airspace" improvements regarding WebView render behavior that may obviate the need for a brush that draws HTML content.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.Xaml.Media
Windows::UI::Xaml::Media [C++]

Metadata

Windows.winmd

See also

Brush
ImageBrush
WebViewBrush
Quickstart: Using brushes

 

 

Show:
© 2014 Microsoft