Class PatternFill
Describes a pattern type of fill.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Model
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public class PatternFill : IFill
Constructors
PatternFill(PatternType, Color, Color)
Initializes a new instance of the Pattern
Declaration
public PatternFill(PatternType patternType, Color patternColor, Color backgroundColor)
Parameters
Pattern Type of the pattern. |
System. Color of the pattern. |
System. Color of the background. |
PatternFill(PatternType, ThemableColor, ThemableColor)
Initializes a new instance of the Pattern
Declaration
public PatternFill(PatternType patternType, ThemableColor patternColor, ThemableColor backgroundColor)
Parameters
Pattern Type of the pattern. |
Themable Color of the pattern. |
Themable Color of the background. |
Fields
Default
Default pattern fill.
Declaration
public static readonly PatternFill Default
Field Value
Properties
BackgroundColor
Gets the color of the background.
Declaration
public ThemableColor BackgroundColor { get; }
Property Value
Themable The color of the background. |
PatternColor
Gets the color of the pattern.
Declaration
public ThemableColor PatternColor { get; }
Property Value
Themable The color of the pattern. |
PatternType
Gets the type of the pattern.
Declaration
public PatternType PatternType { get; }
Property Value
Pattern The type of the pattern. |
Methods
CreateSolidFill(Color)
Creates a solid fill.
Declaration
public static IFill CreateSolidFill(Color color)
Parameters
System. The color. |
Returns
IFill
The fill. |
CreateSolidFill(ThemableColor)
Creates a solid fill.
Declaration
public static IFill CreateSolidFill(ThemableColor color)
Parameters
Themable The themable color. |
Returns
IFill
The fill. |
Equals(Object)
Determines whether the specified System.
Declaration
public override bool Equals(object obj)
Parameters
System. The System. |
Returns
System. True if the specified System. |
Overrides
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
System. A hash code for the current System. |
Overrides
ToString()
Returns a System.
Declaration
public override string ToString()
Returns
System. A System. |