Class AxisElementBuilder
Interaction logic for AxisElementBuilder.xaml
Inheritance
Namespace: Syncfusion.Windows.Tools.Olap
Assembly: Syncfusion.OlapTools.WPF.dll
Syntax
public class AxisElementBuilder : Control
Constructors
AxisElementBuilder()
Initializes the AxisElementBuilder class.
Declaration
public AxisElementBuilder()
Fields
AutoExecuteProperty
Using a DependencyProperty as the backing store for AutoExecute. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AutoExecuteProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
AxisElementBuilderStyleProperty
Gets or sets the AxisElementBuilderStyle.
Declaration
public static DependencyProperty AxisElementBuilderStyleProperty
Field Value
Type | Description |
---|---|
System.Windows.DependencyProperty | The AxisElementBuilderStyle. |
CurrentThemeProperty
Using a DependencyProperty as the backing store for CurrentTheme. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CurrentThemeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
OlapDataManagerProperty
Using a DependencyProperty as the backing store for OlapDataManager. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty OlapDataManagerProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Properties
AutoExecute
Gets or sets whether the elements will automatically execute the query.
Declaration
public bool AutoExecute { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Axis
Gets or sets AxisElementBuilder axis.
Declaration
public AxisPosition Axis { get; set; }
Property Value
Type | Description |
---|---|
AxisPosition | The axis. |
AxisElementBuilderStyle
Gets or sets the AxisElementBuilderStyle.
Declaration
public Style AxisElementBuilderStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style | The AxisElementBuilderStyle. |
CurrentTheme
Gets or sets the current theme.
Declaration
public SolidColorBrush CurrentTheme { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.SolidColorBrush | The current theme. |
GetElementItems
Gets the Selected element form the metatreenode.
Declaration
public Items GetElementItems { get; }
Property Value
Type | Description |
---|---|
Items | The get element items. |
MetaTreeNodes
Gets or sets the AxisElementBuilder elements MetaTreeNodesq
Declaration
public ObservableCollection<MetaTreeNode> MetaTreeNodes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<MetaTreeNode> | The meta tree nodes. |
OlapDataManager
Gets or sets the model.
Declaration
public IOlapDataManager OlapDataManager { get; set; }
Property Value
Type | Description |
---|---|
IOlapDataManager | The model. |
Methods
NotifyEditorClosed(String, MetaTreeNode)
Raises when Measure/Member Editor is closed.
Declaration
public void NotifyEditorClosed(string axis, MetaTreeNode node)
Parameters
Type | Name | Description |
---|---|---|
System.String | axis | SplitButton Axis[Categorical/Series/Slicer] |
MetaTreeNode | node | Current Node |
NotifyEditorOpening(String, MetaTreeNode, MetaTreeNodeType)
Raises while opening Measure/Member Editor.
Declaration
public void NotifyEditorOpening(string axis, MetaTreeNode node, MetaTreeNodeType nodetype)
Parameters
Type | Name | Description |
---|---|---|
System.String | axis | SplitButton Axis[Categorical/Series/Slicer] |
MetaTreeNode | node | Current Node |
MetaTreeNodeType | nodetype | Current Node Type |
NotifySplitButtonDropped(String, String, String, MetaTreeNode)
Raises when SplitButton is dropped between AxisElementBuilder.
Declaration
public void NotifySplitButtonDropped(string source, string faxis, string taxis, MetaTreeNode node)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | AxisElementbuilder |
System.String | faxis | SplitButton dragged from[Categorical/Series/Slicer] |
System.String | taxis | SplitButton dropped to[Categorical/Series/Slicer] |
MetaTreeNode | node | Dragged Node |
NotifySplitButtonOrderChanging(AxisElementBuilder.Direction, MetaTreeNode, Int32, Int32)
Raises when SplitButton order is changing in AxisElementBuilder.
Declaration
public void NotifySplitButtonOrderChanging(AxisElementBuilder.Direction control, MetaTreeNode node, int oldpos, int newpos)
Parameters
Type | Name | Description |
---|---|---|
AxisElementBuilder.Direction | control | Order[up/down/delete] |
MetaTreeNode | node | Order Changing Node |
System.Int32 | oldpos | Old Position |
System.Int32 | newpos | New Position |
NotifyTreeNodeDropped(String, String, String, MetaTreeNode)
Raises when node is dragged and dropped from CubeDimensionBrowser to AxisElementBuilder.
Declaration
public void NotifyTreeNodeDropped(string source, string faxis, string taxis, MetaTreeNode node)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | CubeDimensionBrowser |
System.String | faxis | SplitButton dragged from[Categorical/Series/Slicer] |
System.String | taxis | SplitButton dropped to[Categorical/Series/Slicer] |
MetaTreeNode | node | Dragged Node |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnOlapDataManagerChanged(DependencyObject, DependencyPropertyChangedEventArgs)
Called when [OlapDataManager changed].
Declaration
public static void OnOlapDataManagerChanged(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. |
OnPropertyChanged(DependencyPropertyChangedEventArgs)
Invoked whenever the effective value of any dependency property on this System.Windows.FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs).
Declaration
protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyPropertyChangedEventArgs | e | The event data that describes the property that changed, as well as old and new values. |
RefreshAxisBuilderElements(OlapDataManager)
Refresh the OlapDataManager with the latest available items.
Declaration
public void RefreshAxisBuilderElements(OlapDataManager olapDataManager)
Parameters
Type | Name | Description |
---|---|---|
OlapDataManager | olapDataManager | The OlapDataManager |
RefreshOlapDataManagerElementItems(AxisElementBuilder, Boolean)
Refresh the OlapDataManager with the latest available items.
Declaration
public void RefreshOlapDataManagerElementItems(AxisElementBuilder axisElementBuiler, bool execute)
Parameters
Type | Name | Description |
---|---|---|
AxisElementBuilder | axisElementBuiler | The axis element builder. |
System.Boolean | execute | The execute. |
Events
OnEditorClosed
Occurs when Measure/Member Editor is closed.
Declaration
public event AxisElementBuilder.EditorClosedHandler OnEditorClosed
Event Type
OnEditorOpening
Occurs while opening Measure/Member Editor.
Declaration
public event AxisElementBuilder.EditorOpeningHandler OnEditorOpening
Event Type
OnSplitButtonDropped
Occurs when SplitButton is dropped between AxisElementBuilder.
Declaration
public event AxisElementBuilder.SplitButtonDroppedHandler OnSplitButtonDropped
Event Type
OnSplitButtonOrderChanging
Occurs when SplitButton order is changing in AxisElementBuilder.
Declaration
public event AxisElementBuilder.SplitButtonOrderChangingHandler OnSplitButtonOrderChanging
Event Type
OnTreeNodeDropped
Occurs when node is dragged and dropped from CubeDimensionBrowser to AxisElementBuilder.
Declaration
public event AxisElementBuilder.TreeNodeDroppedHandler OnTreeNodeDropped