Class OlapGridCellStyle
light weight custom type for defining the olap grid cell style
Inheritance
Implements
Namespace: Syncfusion.Windows.Grid.Olap
Assembly: Syncfusion.OlapGrid.WPF.dll
Syntax
public class OlapGridCellStyle : DependencyObject, INotifyPropertyChanged
Constructors
OlapGridCellStyle()
Initializes a new instance of the OlapGridCellStyle class.
Declaration
public OlapGridCellStyle()
Fields
BackgroundProperty
Using a DependencyProperty as the backing store for BackGround. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty BackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FontFamilyProperty
Using a DependencyProperty as the backing store for FontFamily. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FontFamilyProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FontSizeProperty
Using a DependencyProperty as the backing store for FontSize. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FontSizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FontStyleProperty
Dependency property for FontStyle property.
Declaration
public static readonly DependencyProperty FontStyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
FontWeightProperty
Using a DependencyProperty as the backing store for FontWeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FontWeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
ForegroundProperty
Using a DependencyProperty as the backing store for Foreground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
IsHyperlinkCellProperty
Using a DependencyProperty as the backing store for IsHyperlinkCell. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsHyperlinkCellProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StringFormatProperty
Using a DependencyProperty as the backing store for StringFormat This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty StringFormatProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
StyleProperty
Using a DependencyProperty as the backing store for Style. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty StyleProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextDecorationsProperty
Dependency property for TextDecorations property.
Declaration
public static readonly DependencyProperty TextDecorationsProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
TextWrappingProperty
Using a DependencyProperty as the backing store for TextWrapping. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TextWrappingProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
Background
Gets or sets the background.
Declaration
public Brush Background { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The background. |
FontFamily
Gets or sets the font family.
Declaration
public FontFamily FontFamily { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.FontFamily | The font family. |
FontSize
Gets or sets the size of the font.
Declaration
public int FontSize { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The size of the font. |
FontStyle
Gets or sets the font styles.
Declaration
public FontStyle FontStyle { get; set; }
Property Value
Type |
---|
System.Windows.FontStyle |
FontWeight
Gets or sets the font weight.
Declaration
public FontWeight FontWeight { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.FontWeight | The font weight. |
Foreground
Gets or sets the foreground.
Declaration
public Brush Foreground { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Brush | The foreground. |
IsHyperlinkCell
Gets or sets a value indicating whether this instance is hyperlink cell.
Declaration
public bool IsHyperlinkCell { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
StringFormat
Gets or sets the string format for value.
Declaration
public string StringFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String | The string format for value. |
Style
Gets or sets the style of the cell.
Declaration
public Style Style { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style | The style. |
TextDecorations
Gets or sets the text decorations
Declaration
public TextDecorationCollection TextDecorations { get; set; }
Property Value
Type |
---|
System.Windows.TextDecorationCollection |
TextWrapping
Gets or sets the textwrapping of the cell.
Declaration
public TextWrapping TextWrapping { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.TextWrapping | The textwrapping. |
Methods
OnBackgroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [background changed].
Declaration
public static void OnBackgroundChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnFontFamilyChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [font family changed].
Declaration
public static void OnFontFamilyChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnFontSizeChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [font size changed].
Declaration
public static void OnFontSizeChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnFontWeightChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [font weight changed].
Declaration
public static void OnFontWeightChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnForegroundChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [foreground changed].
Declaration
public static void OnForegroundChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnIsHyperlinkCellChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [is hyperlink cell changed].
Declaration
public static void OnIsHyperlinkCellChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnStringFormatChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [string format changed].
Declaration
public static void OnStringFormatChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
OnStyleChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [style changed].
Declaration
public static void OnStyleChanged(DependencyObject dependencyObject, DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dependencyObject | The dependency object. |
System.Windows.DependencyPropertyChangedEventArgs | e | The System.Windows.DependencyPropertyChangedEventArgs instance containing the event data. |
Events
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |