TilesBrush Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A XamlCompositionBrush that displays a tiled image
public sealed class TilesBrush : Microsoft.Toolkit.Uwp.UI.Media.XamlCompositionEffectBrushBase
type TilesBrush = class
inherit XamlCompositionEffectBrushBase
Public NotInheritable Class TilesBrush
Inherits XamlCompositionEffectBrushBase
- Inheritance
Constructors
TilesBrush() |
Fields
DpiModeProperty |
Identifies the DpiMode dependency property. |
TextureUriProperty |
Identifies the TextureUri dependency property. |
Properties
DpiMode |
Gets or sets the DPI mode used to render the texture (the default is DisplayDpiWith96AsLowerBound) |
IsEnabled |
Gets or sets a value indicating whether the current brush is using the provided pipeline, or the fallback color. (Inherited from XamlCompositionEffectBrushBase) |
TextureUri |
Gets or sets the Uri to the texture to use |
Methods
OnBrushRequested() |
A method that builds and returns the PipelineBuilder pipeline to use in the current instance. This method can also be used to store any needed EffectSetter<T> or EffectAnimation<T> instances in local fields, for later use (they will need to be called upon Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush). (Inherited from XamlCompositionEffectBrushBase) |
OnCompositionBrushUpdated() |
Invoked whenever the Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush property is updated. (Inherited from XamlCompositionEffectBrushBase) |
OnConnected() | (Inherited from XamlCompositionEffectBrushBase) |
OnDisconnected() | (Inherited from XamlCompositionEffectBrushBase) |
OnEnabledToggled(Boolean) |
Updates the Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush property depending on the input value. (Inherited from XamlCompositionEffectBrushBase) |
OnPipelineRequested() |
A method that builds and returns the PipelineBuilder pipeline to use in the current instance. This method can also be used to store any needed EffectSetter<T> or EffectAnimation<T> instances in local fields, for later use (they will need to be called upon Windows.UI.Xaml.Media.XamlCompositionBrushBase.CompositionBrush). (Inherited from XamlCompositionEffectBrushBase) |