Class Shading
Represents the Shading class.
Namespace: Syncfusion.UI.Xaml.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.UWP.dll
Syntax
public sealed class Shading : BaseNode
Constructors
Shading()
Initializes a new instance of the Shading class.
Declaration
public Shading()
Shading(BaseNode)
Declaration
public Shading(BaseNode baseNode)
Parameters
Type | Name | Description |
---|---|---|
BaseNode | baseNode | The owner of the Shading. It can be an instance of TableFormat or |
Fields
BackgroundColorProperty
Identifies the Background dependency property.
Declaration
public static readonly DependencyProperty BackgroundColorProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty | The identifier for the Background dependency property. |
TextureProperty
Identifies the Texture dependency property.
Declaration
public static readonly DependencyProperty TextureProperty
Field Value
Type | Description |
---|---|
Windows.UI.Xaml.DependencyProperty | The identifier for the Texture dependency property. |
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type |
---|
Windows.UI.Color |
Texture
Gets or sets the TextureStyle.
Declaration
public TextureStyle Texture { get; set; }
Property Value
Type | Description |
---|---|
TextureStyle | The texture style |
Examples
The following code example demonstrates how to define texture style.
<!-- Defines the texture style. -->
<RichTextBoxAdv:Shading>
<RichTextBoxAdv:Shading Texture = "Texture15Percent" />
</RichTextBoxAdv:Shading >
<!-- Define the texture style. -->
// Defines the texture style.
Shading shading = new Shading();
shading.Texture = TextureStyle.Texture15Percent;
// Define the texture style.
' Defines the texture style.
Dim shading As New Shading()
shading.Texture = TextureStyle.Texture15Percent
' Define the texture style.