Class MonochromeEffect
Effect that turns a visual into a monochrome color.
Inherited Members
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: Microsoft.Expression.Media.Effects
Assembly: OpenSilver.Expression.Effects.dll
Syntax
public sealed class MonochromeEffect : ShaderEffect
Constructors
| Improve this Doc View SourceMonochromeEffect()
Creates an instance and updates the shader's variables to the default values.
Declaration
public MonochromeEffect()
Fields
| Improve this Doc View SourceColorProperty
Gets or sets the Color variable within the shader.
Declaration
public static readonly DependencyProperty ColorProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
InputProperty
Gets or sets the Input of the shader.
Declaration
public static readonly DependencyProperty InputProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceColor
Gets or sets the Color variable within the shader.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |