IItemSelectableChart Interface
Definition
Selection contract for chart components that select bound items directly.
public interface IItemSelectableChart
Methods
| Name | Description |
|---|---|
| IsItemSelected | Checks whether the specified item is selected. |
| TrySelectItem | Attempts to select the specified item. |
IsItemSelected Method
Checks whether the specified item is selected.
public bool IsItemSelected(object item)
Parameters
item object
The item to check.
Returns
bool
True if the item is selected.
TrySelectItem Method
Attempts to select the specified item.
public bool TrySelectItem(object item)
Parameters
item object
The item to select.
Returns
bool
True if the selection state changed.
Properties
| Name | Description |
|---|---|
| SelectedItem | Gets the primary selected item, if any. |
| SelectedItems | Gets the current collection of selected items, if any. |
SelectedItem Property
Gets the primary selected item, if any.
public object SelectedItem { get; set; }
SelectedItems Property
Gets the current collection of selected items, if any.
public System.Collections.IList SelectedItems { get; set; }