Class Shading
Represents the Shading class.
Namespace: Syncfusion.Windows.Controls.RichTextBoxAdv
Assembly: Syncfusion.SfRichTextBoxAdv.WPF.dll
Syntax
public sealed class Shading : BaseNodeConstructors
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 BackgroundColorPropertyField Value
| Type | Description | 
|---|---|
| System.Windows.DependencyProperty | The identifier for the Background dependency property. | 
TextureProperty
Identifies the Texture dependency property.
Declaration
public static readonly DependencyProperty TexturePropertyField Value
| Type | Description | 
|---|---|
| System.Windows.DependencyProperty | The identifier for the Texture dependency property. | 
Properties
BackgroundColor
Declaration
public Color BackgroundColor { get; set; }Property Value
| Type | 
|---|
| System.Windows.Media.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.