Dundas.SharePoint.Charting.WebParts Send comments on this topic.
SupportedElements Property
See Also 
Dundas.Charting.WebControl Namespace > Command Class : SupportedElements Property


Gets or sets the supported elements of the command.

Syntax

Visual Basic (Declaration)  
<CategoryAttribute("Command")>
<DescriptionAttribute("The chart elements that are applicable to this command.  This is reflected on the context menu only.")>
<BrowsableAttribute(True)>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.Design.FlagsEnumUITypeEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")>
Public Property SupportedElements As ContextElementType
Visual Basic (Usage) Copy Code
Dim instance As Command
Dim value As ContextElementType
 
instance.SupportedElements = value
 
value = instance.SupportedElements
C#  
[CategoryAttribute("Command")]
[DescriptionAttribute("The chart elements that are applicable to this command.  This is reflected on the context menu only.")]
[BrowsableAttribute(true)]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="Dundas.Charting.WebControl.Design.FlagsEnumUITypeEditor, Dundas.SharePoint.Charting.WebParts, Version=2.5.0.0, Culture=neutral, PublicKeyToken=fab2f7696049aaca")]
public ContextElementType SupportedElements {get; set;}

Return Value

The ContextElementType set which represents supported chart elements of this Command.

Remarks

The SupportedElements reflects in the context menu deployment. On right mouse click the selected chart element is inspected and compared with SupportedElements value to determine which Dundas.Charting.WebControl.Commands Namespace to be displayed. Each Command has predefined set of ContextElementType which can be accepted and handled by this Command. The SupportedElements property can limit default predefined set but cannot expand it.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also