Class PivotExpanderCell
Class that holds the members of expander cell.
Inheritance
Namespace: Syncfusion.Windows.Controls.PivotGrid
Assembly: Syncfusion.PivotAnalysis.WPF.dll
Syntax
public class PivotExpanderCell : Control
Constructors
PivotExpanderCell()
Constructor for PivotExpanderCell class handling the routed UI command "ExpandItem" of the PivotItem.
Declaration
public PivotExpanderCell()
Fields
EnableContextMenuProperty
Identifies the EnableContextMenu dependency property.
Declaration
public static readonly DependencyProperty EnableContextMenuProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the EnableContextMenu dependency property. |
IsEnabledOnMouseOverProperty
Identifies the IsEnabledOnMouseOver dependency property.
Declaration
public static readonly DependencyProperty IsEnabledOnMouseOverProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the IsEnabledOnMouseOver dependency property. |
IsHyperlinkCellProperty
Identifies the IsHyperlinkCell dependency property.
Declaration
public static readonly DependencyProperty IsHyperlinkCellProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the IsHyperlinkCell dependency property. |
ToolTipEnabledProperty
Identifies the ToolTipEnabled dependency property.
Declaration
public static readonly DependencyProperty ToolTipEnabledProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The identifier for the ToolTipEnabled dependency property. |
Properties
CellIdentity
Holds identity information such as row and column index for the current cell.
Declaration
public PivotGridStyleInfoIdentity CellIdentity { get; set; }
Property Value
Type |
---|
PivotGridStyleInfoIdentity |
CellText
Gets or sets the text displayed in the text block of each Grid cell.
Declaration
public UIElement CellText { get; set; }
Property Value
Type |
---|
System.Windows.UIElement |
EnableContextMenu
Gets or sets a value to indicate whether to enable context menu for header cells. Applies only for expander cells on right-click.
Declaration
public bool EnableContextMenu { get; set; }
Property Value
Type |
---|
System.Boolean |
GridControlBase
Gets or sets the GridControlBase that shares the basic characteristics of the Grid.
Declaration
public PivotGridControlBase GridControlBase { get; set; }
Property Value
Type |
---|
PivotGridControlBase |
IsEnabledOnMouseOver
Gets or sets a value to indicate whether to enable hyperlink in Grid cell on mouse over.
Declaration
public bool IsEnabledOnMouseOver { get; set; }
Property Value
Type |
---|
System.Boolean |
IsExpanded
Gets the state of the expander, whether it's expanded or collapsed.
Declaration
public bool IsExpanded { get; set; }
Property Value
Type |
---|
System.Boolean |
IsHyperlinkCell
Gets or sets a value to indicate whether the Grid cells are hyperlinked or not.
Declaration
public bool IsHyperlinkCell { get; set; }
Property Value
Type |
---|
System.Boolean |
PivotCellInfo
Gets or sets the Grid cell information.
Declaration
public PivotCellInfo PivotCellInfo { get; set; }
Property Value
Type |
---|
PivotCellInfo |
StyleInfo
Gets or sets the cell style information.
Declaration
public GridStyleInfo StyleInfo { get; set; }
Property Value
Type |
---|
GridStyleInfo |
Text
Gets or sets the text of the PivotGrid expander cell.
Declaration
public string Text { get; }
Property Value
Type |
---|
System.String |
ToolTipEnabled
Gets or sets a value to enable/disable tooltip.
Declaration
public bool ToolTipEnabled { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
ArrangeOverride(Size)
When overridden in a derived class, measures the bounds in layout required for child elements and determines a bounds for the System.Windows.FrameworkElement-derived class.
Declaration
protected override Size ArrangeOverride(Size arrangeBounds)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Size | arrangeBounds | The Bounds that this element can give to child elements. Infinity can be specified as a value to indicat that the element will bounds to whatever content is available. |
Returns
Type | Description |
---|---|
System.Windows.Size | The bounds that this element determines it needs during layout, based on its calculations of child element bounds. |
OnApplyTemplate()
When overridden in a derived class, it is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
returns the new automation peer class for the PivotGridControl
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
Type | Description |
---|---|
System.Windows.Automation.Peers.AutomationPeer | type-specific AutomationPeer implementation |
OnPreviewMouseRightButtonUp(MouseButtonEventArgs)
Calls before mouse right button up event occurs.
Declaration
protected override void OnPreviewMouseRightButtonUp(MouseButtonEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Input.MouseButtonEventArgs | e | An event argument. |