AcrylicBrush
AcrylicBrush
AcrylicBrush
AcrylicBrush
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Paints an area with a semi-transparent material that uses multiple effects including blur and a noise texture.
public : class AcrylicBrush : XamlCompositionBrushBase, IAcrylicBrushpublic class AcrylicBrush : XamlCompositionBrushBase, IAcrylicBrushPublic Class AcrylicBrush Inherits XamlCompositionBrushBase Implements IAcrylicBrush// You can use this class in JavaScript.
- Inheritance
-
AcrylicBrushAcrylicBrushAcrylicBrushAcrylicBrush
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Inherited Members
Inherited methods
Inherited properties
Constructors
Properties
AlwaysUseFallback AlwaysUseFallback AlwaysUseFallback AlwaysUseFallback
Prerelease. Gets or sets a value that specifies whether the brush is forced to the solid fallback color.
public : PlatForm::Boolean AlwaysUseFallback { get; set; }public bool AlwaysUseFallback { get; set; }Public ReadWrite Property AlwaysUseFallback As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
true to always replace the acrylic material with the solid fallback color. Otherwise, false. The default is false.
Remarks
By default, the acrylic material is replaced with a solid color when one of the fallback conditions is met (such as entering battery saver mode). You can set this property to true to always replace the acrylic material with a solid color. Setting this property will synchronously trigger a transition animation between the normal look and fallback color.
AlwaysUseFallbackProperty AlwaysUseFallbackProperty AlwaysUseFallbackProperty AlwaysUseFallbackProperty
Prerelease. Identifies the AlwaysUseFallback dependency property.
public : static DependencyProperty AlwaysUseFallbackProperty { get; }public static DependencyProperty AlwaysUseFallbackProperty { get; }Public Static ReadOnly Property AlwaysUseFallbackProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the AlwaysUseFallback dependency property.
BackgroundSource BackgroundSource BackgroundSource BackgroundSource
Prerelease. Gets or sets a value that specifies whether the brush samples from the app content or from the content behind the app window.
public : AcrylicBackgroundSource BackgroundSource { get; set; }public AcrylicBackgroundSource BackgroundSource { get; set; }Public ReadWrite Property BackgroundSource As AcrylicBackgroundSource// You can use this property in JavaScript.
- Value
- AcrylicBackgroundSource AcrylicBackgroundSource AcrylicBackgroundSource AcrylicBackgroundSource
A value of the enumeration that specifies whether the brush samples from the app content or from the content behind the app window.
BackgroundSourceProperty BackgroundSourceProperty BackgroundSourceProperty BackgroundSourceProperty
Prerelease. Identifies the BackgroundSource dependency property.
public : static DependencyProperty BackgroundSourceProperty { get; }public static DependencyProperty BackgroundSourceProperty { get; }Public Static ReadOnly Property BackgroundSourceProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the BackgroundSource dependency property.
TintColor TintColor TintColor TintColor
Prerelease. Gets or sets the color tint for the semi-transparent acrylic material.
public : Color TintColor { get; set; }public Color TintColor { get; set; }Public ReadWrite Property TintColor As Color// You can use this property in JavaScript.
TintColorProperty TintColorProperty TintColorProperty TintColorProperty
Prerelease. Identifies the TintColor dependency property.
public : static DependencyProperty TintColorProperty { get; }public static DependencyProperty TintColorProperty { get; }Public Static ReadOnly Property TintColorProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the TintColor dependency property.
TintOpacity TintOpacity TintOpacity TintOpacity
Prerelease. Gets or sets the degree of opacity of the color tint.
public : double TintOpacity { get; set; }public double TintOpacity { get; set; }Public ReadWrite Property TintOpacity As double// You can use this property in JavaScript.
<acrylicBrush TintOpacity="double"/>
- Value
- double double double double
The opacity expressed as a value between 0 and 1.0. The default value is 1.0, which is full opacity. 0 is transparent opacity.
TintOpacityProperty TintOpacityProperty TintOpacityProperty TintOpacityProperty
Prerelease. Identifies the TintOpacity dependency property.
public : static DependencyProperty TintOpacityProperty { get; }public static DependencyProperty TintOpacityProperty { get; }Public Static ReadOnly Property TintOpacityProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the TintOpacity dependency property.
TintTransitionDuration TintTransitionDuration TintTransitionDuration TintTransitionDuration
Prerelease. Gets or sets the length of the automatic transition animation used when the TintColor changes.
public : TimeSpan TintTransitionDuration { get; set; }public TimeSpan TintTransitionDuration { get; set; }Public ReadWrite Property TintTransitionDuration As TimeSpan// You can use this property in JavaScript.
- Value
- TimeSpan TimeSpan TimeSpan TimeSpan
The length of the automatic transition animation used when the TintColor changes.
TintTransitionDurationProperty TintTransitionDurationProperty TintTransitionDurationProperty TintTransitionDurationProperty
Prerelease. Identifies the TintTransitionDuration dependency property.
public : static DependencyProperty TintTransitionDurationProperty { get; }public static DependencyProperty TintTransitionDurationProperty { get; }Public Static ReadOnly Property TintTransitionDurationProperty As DependencyProperty// You can use this property in JavaScript.
The identifier for the TintTransitionDuration dependency property.