menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotChartCommand - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotChartCommand

    Defines a command that implements ICommand and is routed through the element tree.

    Inheritance
    System.Object
    PivotChartCommand
    Implements
    System.Windows.Input.ICommand
    Namespace: Syncfusion.UI.Xaml.PivotChart
    Assembly: Syncfusion.SfPivotChart.UWP.dll
    Syntax
    public class PivotChartCommand : Object, ICommand

    Constructors

    PivotChartCommand(Action)

    Initializes a new instance of the PivotChartCommand class.

    Declaration
    public PivotChartCommand(Action execute)
    Parameters
    Type Name Description
    System.Action execute

    The execution logic.

    PivotChartCommand(Action, Predicate<Object>)

    Initializes a new instance of the PivotChartCommand class.

    Declaration
    public PivotChartCommand(Action execute_, Predicate<object> canExecute_)
    Parameters
    Type Name Description
    System.Action execute_
    System.Predicate<System.Object> canExecute_

    Methods

    CanExecute(Object)

    Defines the method that determines whether the command can execute in its current state.

    Declaration
    public bool CanExecute(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    Data used by the command. If the command does not require data to be passed, this object can be set to null.

    Returns
    Type Description
    System.Boolean

    true if this command can be executed; otherwise, false.

    Execute(Object)

    Defines the method to be called when the command is invoked.

    Declaration
    public void Execute(object parameter)
    Parameters
    Type Name Description
    System.Object parameter

    RaiseCanExecuteChanged()

    Raises the CanExecuteChanged event.

    Declaration
    public void RaiseCanExecuteChanged()

    Events

    CanExecuteChanged

    Occurs when changes occur that affect whether or not the command should execute.

    Declaration
    public event EventHandler CanExecuteChanged
    Event Type
    Type
    System.EventHandler

    Implements

    System.Windows.Input.ICommand

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved