Class MemberEditor
Displays the members of the current hierarchy and allows to select and un-select members for filtering.
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.PivotClient
Assembly: Syncfusion.SfPivotClient.UWP.dll
Syntax
public class MemberEditor : Control, IDisposable
Constructors
MemberEditor()
Initializes a new instance of the MemberEditor class.
Declaration
public MemberEditor()
MemberEditor(SplitButton, MetaTreeNode)
Initializes a new instance of the MemberEditor class.
Declaration
public MemberEditor(SplitButton host, MetaTreeNode metaTreeNode)
Parameters
| Type | Name | Description |
|---|---|---|
| SplitButton | host | The split button that hosts the member editor. |
| MetaTreeNode | metaTreeNode | The current node. |
MemberEditor(SplitButton, ObservableCollection<MetaTreeNode>)
Initializes a new instance of the MemberEditor class.
Declaration
public MemberEditor(SplitButton host, ObservableCollection<MetaTreeNode> metaTreeNodes)
Parameters
| Type | Name | Description |
|---|---|---|
| SplitButton | host | The split button that hosts the member editor. |
| System.Collections.ObjectModel.ObservableCollection<MetaTreeNode> | metaTreeNodes | The collection of nodes available in the member editor. |
Properties
EnableMemberEditorPaging
Gets or sets the value indicating whether member editor Paging is enabled or not.
Declaration
public bool EnableMemberEditorPaging { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
Host
Gets or sets the split button that hosts the member editor.
Declaration
public SplitButton Host { get; set; }
Property Value
| Type |
|---|
| SplitButton |
MemberEditorPageSize
Gets or sets the member editor page size.
Declaration
public int MemberEditorPageSize { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
MetaTreeNodes
Gets or sets the collection of nodes available in the member editor.
Declaration
public ObservableCollection<MetaTreeNode> MetaTreeNodes { get; set; }
Property Value
| Type |
|---|
| System.Collections.ObjectModel.ObservableCollection<MetaTreeNode> |
OlapDataManager
Gets or sets the OLAP data manager.
Declaration
public OlapDataManager OlapDataManager { get; set; }
Property Value
| Type |
|---|
| OlapDataManager |
Methods
add_PageRefreshCompleted(RefreshCompletedEventHandler)
Declaration
public void add_PageRefreshCompleted(RefreshCompletedEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| RefreshCompletedEventHandler | value |
add_PageRefreshStarted(RefreshStartedEventHandler)
Declaration
public void add_PageRefreshStarted(RefreshStartedEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| RefreshStartedEventHandler | value |
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
GetChildNodes(MetaTreeNode, MetaTreeNodeCollection)
Gets the collection of child nodes for the specified node.
Declaration
public static MetaTreeNodeCollection GetChildNodes(MetaTreeNode parentNode, MetaTreeNodeCollection childNodeCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| MetaTreeNode | parentNode | The node, for which the child nodes are identified. |
| MetaTreeNodeCollection | childNodeCollection | The collection of all child nodes present under specified node. |
Returns
| Type |
|---|
| MetaTreeNodeCollection |
GetReportMemberElements(MemberElement, MemberElementCollection)
Gets the collection of child member elements for the specified member element.
Declaration
public MemberElementCollection GetReportMemberElements(MemberElement parentMemberElement, MemberElementCollection childMemberElementCollection)
Parameters
| Type | Name | Description |
|---|---|---|
| MemberElement | parentMemberElement | The member element, for which the child member elements are identified. |
| MemberElementCollection | childMemberElementCollection | The collection of child member elements for the member element. |
Returns
| Type | Description |
|---|---|
| MemberElementCollection | The collection of all child member elements present under specified member element. |
GetRootNode(MetaTreeNode)
Gets the root node for the specified node.
Declaration
public static MetaTreeNode GetRootNode(MetaTreeNode node)
Parameters
| Type | Name | Description |
|---|---|---|
| MetaTreeNode | node | The node, for which the root node is identified. |
Returns
| Type | Description |
|---|---|
| MetaTreeNode | The root node. |
OnApplyTemplate()
Builds the visual tree for this control when a new template is applied.
Declaration
protected override void OnApplyTemplate()
RaisePageRefreshCompleted(RefreshEventArgs)
Raises the PageRefreshCompleted event.
Declaration
public void RaisePageRefreshCompleted(RefreshEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| RefreshEventArgs | e | The data for the event |
RaisePageRefreshStarted(RefreshEventArgs)
Raises the PageRefreshStarted event.
Declaration
public void RaisePageRefreshStarted(RefreshEventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| RefreshEventArgs | e | The data for the event |
remove_PageRefreshCompleted(RefreshCompletedEventHandler)
Declaration
public void remove_PageRefreshCompleted(RefreshCompletedEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| RefreshCompletedEventHandler | value |
remove_PageRefreshStarted(RefreshStartedEventHandler)
Declaration
public void remove_PageRefreshStarted(RefreshStartedEventHandler value)
Parameters
| Type | Name | Description |
|---|---|---|
| RefreshStartedEventHandler | value |
Events
PageRefreshCompleted
Occurs when new page is loaded.
Declaration
public event RefreshCompletedEventHandler PageRefreshCompleted
Event Type
| Type |
|---|
| RefreshCompletedEventHandler |
PageRefreshStarted
Occurs when new page is started to loading.
Declaration
public event RefreshStartedEventHandler PageRefreshStarted
Event Type
| Type |
|---|
| RefreshStartedEventHandler |