ArcGIS API for Silverlight - Library Reference
Legend Class Members
See Also  Fields  Properties  Methods  Events Send comments on this topic
ESRI.ArcGIS.Client.Toolkit Namespace : Legend Class


The following tables list the members exposed by Legend.

Public Constructors

 NameDescription
public ConstructorLegend ConstructorInitializes a new instance of the Legend class.  
Top

Public Fields

 NameDescription
public Fieldstatic (Shared in Visual Basic)LayerIDsPropertyIdentifies the LayerIDs dependency property.  
public Fieldstatic (Shared in Visual Basic)LayerItemsModePropertyIdentifies the LayerItemsModeProperty dependency property.  
public Fieldstatic (Shared in Visual Basic)LayerItemsPropertyIdentifies the LayerItems dependency property.  
public Fieldstatic (Shared in Visual Basic)LayerItemsSourcePropertyIdentifies the LayerItemsSource dependency property.  
public Fieldstatic (Shared in Visual Basic)LayerTemplatePropertyIdentifies the LayerTemplate dependency property.  
public Fieldstatic (Shared in Visual Basic)LegendItemTemplatePropertyIdentifies the LegendItemTemplate dependency property.  
public Fieldstatic (Shared in Visual Basic)MapLayerTemplatePropertyIdentifies the LegendItemTemplate dependency property.  
public Fieldstatic (Shared in Visual Basic)MapPropertyIdentifies the Map dependency property.  
public Fieldstatic (Shared in Visual Basic)ReverseLayersOrderPropertyIdentifies the ReverseLayersOrder dependency property.  
public Fieldstatic (Shared in Visual Basic)ShowOnlyVisibleLayersPropertyIdentifies the ShowOnlyVisibleLayers dependency property.  
Top

Public Properties

 NameDescription
public PropertyActualHeight (Inherited from System.Windows.FrameworkElement)
public PropertyActualWidth (Inherited from System.Windows.FrameworkElement)
public PropertyAllowDrop (Inherited from System.Windows.UIElement)
public PropertyBackground (Inherited from System.Windows.Controls.Control)
public PropertyBorderBrush (Inherited from System.Windows.Controls.Control)
public PropertyBorderThickness (Inherited from System.Windows.Controls.Control)
public PropertyCacheMode (Inherited from System.Windows.UIElement)
public PropertyCharacterSpacing (Inherited from System.Windows.Controls.Control)
public PropertyClip (Inherited from System.Windows.UIElement)
public PropertyCursor (Inherited from System.Windows.FrameworkElement)
public PropertyDataContext (Inherited from System.Windows.FrameworkElement)
public PropertyDesiredSize (Inherited from System.Windows.UIElement)
public PropertyDispatcher (Inherited from System.Windows.DependencyObject)
public PropertyEffect (Inherited from System.Windows.UIElement)
public PropertyFlowDirection (Inherited from System.Windows.FrameworkElement)
public PropertyFontFamily (Inherited from System.Windows.Controls.Control)
public PropertyFontSize (Inherited from System.Windows.Controls.Control)
public PropertyFontStretch (Inherited from System.Windows.Controls.Control)
public PropertyFontStyle (Inherited from System.Windows.Controls.Control)
public PropertyFontWeight (Inherited from System.Windows.Controls.Control)
public PropertyForeground (Inherited from System.Windows.Controls.Control)
public PropertyHeight (Inherited from System.Windows.FrameworkElement)
public PropertyHorizontalAlignment (Inherited from System.Windows.FrameworkElement)
public PropertyHorizontalContentAlignment (Inherited from System.Windows.Controls.Control)
public PropertyIsEnabled (Inherited from System.Windows.Controls.Control)
public PropertyIsHitTestVisible (Inherited from System.Windows.UIElement)
public PropertyIsTabStop (Inherited from System.Windows.Controls.Control)
public PropertyLanguage (Inherited from System.Windows.FrameworkElement)
public PropertyLayerIDs Gets or sets the layer IDs of the layers participating in the legend.  
public PropertyLayerItems Gets the LayerItems for all layers that the legend control is working with.  
public PropertyLayerItemsModeGets or sets the mode of display that defines the structure of the Legend Control: Flat or Tree.  
public PropertyLayerItemsSourceThe enumeration of the legend items displayed at the first level of the legend control. This enumeration is depending on the LayerItemsMode property and on the ShowOnlyVisibleLayers property.  
public PropertyLayerTemplate Gets or sets the DataTemplate that controls how the Legend Control will display information about a Layer. This DataTemplate is used by default for all Layer items (i.e all items except the LegendItems at the lowest leaf level).  
public PropertyLegendItemTemplate Gets or sets the DataTemplate that controls how the Legend Control will display information about individual LegendItems in a Layer. It is used at the lowest leaf level in the Legend hierachy and most generally contains an image and a label.  
public PropertyMap Gets or sets the Map that the Legend Control is buddied to.  
public PropertyMapLayerTemplateGets or sets the DataTemplate that controls how the Legend Control will display information about a Layer at the hightest level in the Legend hierarchy. This DataTemplate is optional as the LayerTemplate is used by default.  
public PropertyMargin (Inherited from System.Windows.FrameworkElement)
public PropertyMaxHeight (Inherited from System.Windows.FrameworkElement)
public PropertyMaxWidth (Inherited from System.Windows.FrameworkElement)
public PropertyMinHeight (Inherited from System.Windows.FrameworkElement)
public PropertyMinWidth (Inherited from System.Windows.FrameworkElement)
public PropertyName (Inherited from System.Windows.FrameworkElement)
public PropertyOpacity (Inherited from System.Windows.UIElement)
public PropertyOpacityMask (Inherited from System.Windows.UIElement)
public PropertyPadding (Inherited from System.Windows.Controls.Control)
public PropertyParent (Inherited from System.Windows.FrameworkElement)
public PropertyProjection (Inherited from System.Windows.UIElement)
public PropertyRenderSize (Inherited from System.Windows.UIElement)
public PropertyRenderTransform (Inherited from System.Windows.UIElement)
public PropertyRenderTransformOrigin (Inherited from System.Windows.UIElement)
public PropertyResources (Inherited from System.Windows.FrameworkElement)
public PropertyReverseLayersOrderGets or sets a value indicating whether the legend displays the last declared layers as first legend items. By default the layers are returned in the order they are declared in the map or in the group layers. Setting this option allows to reverse the layers order returned by LayerItemsSource and ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LayerItemsSource. This option doesn't impact LayerItems nor ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LayerItems nor ESRI.ArcGIS.Client.Toolkit.Primitives.LayerItemViewModel.LegendItems. The order of the ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer sublayers is not impacted either.  
public PropertyShowOnlyVisibleLayers Gets or sets a value indicating whether only the visible layers are participating to the legend.  
public PropertyStyle (Inherited from System.Windows.FrameworkElement)
public PropertyTabIndex (Inherited from System.Windows.Controls.Control)
public PropertyTabNavigation (Inherited from System.Windows.Controls.Control)
public PropertyTag (Inherited from System.Windows.FrameworkElement)
public PropertyTemplate (Inherited from System.Windows.Controls.Control)
public PropertyTriggers (Inherited from System.Windows.FrameworkElement)
public PropertyUseLayoutRounding (Inherited from System.Windows.UIElement)
public PropertyVerticalAlignment (Inherited from System.Windows.FrameworkElement)
public PropertyVerticalContentAlignment (Inherited from System.Windows.Controls.Control)
public PropertyVisibility (Inherited from System.Windows.UIElement)
public PropertyWidth (Inherited from System.Windows.FrameworkElement)
Top

Protected Properties

 NameDescription
protected PropertyDefaultStyleKey (Inherited from System.Windows.Controls.Control)
Top

Public Methods

 NameDescription
public MethodAddHandler (Inherited from System.Windows.UIElement)
public MethodApplyTemplate (Inherited from System.Windows.Controls.Control)
public MethodArrange (Inherited from System.Windows.UIElement)
public MethodCaptureMouse (Inherited from System.Windows.UIElement)
public MethodClearValue (Inherited from System.Windows.DependencyObject)
public MethodFindName (Inherited from System.Windows.FrameworkElement)
public MethodFocus (Inherited from System.Windows.Controls.Control)
public MethodGetAnimationBaseValue (Inherited from System.Windows.DependencyObject)
public MethodGetBindingExpression (Inherited from System.Windows.FrameworkElement)
public MethodGetValue (Inherited from System.Windows.DependencyObject)
public MethodInvalidateArrange (Inherited from System.Windows.UIElement)
public MethodInvalidateMeasure (Inherited from System.Windows.UIElement)
public MethodMeasure (Inherited from System.Windows.UIElement)
public MethodOnApplyTemplateOverridden. When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.  
public MethodReadLocalValue (Inherited from System.Windows.DependencyObject)
public MethodRefresh Refreshes the legend control.  
public MethodReleaseMouseCapture (Inherited from System.Windows.UIElement)
public MethodRemoveHandler (Inherited from System.Windows.UIElement)
public MethodSetBinding (Inherited from System.Windows.FrameworkElement)
public MethodSetValue (Inherited from System.Windows.DependencyObject)
public MethodTransformToVisual (Inherited from System.Windows.UIElement)
public MethodUpdateLayout (Inherited from System.Windows.UIElement)
Top

Protected Methods

 NameDescription
protected MethodArrangeOverride (Inherited from System.Windows.FrameworkElement)
protected MethodGetTemplateChild (Inherited from System.Windows.Controls.Control)
protected MethodMeasureOverride (Inherited from System.Windows.FrameworkElement)
protected MethodOnCreateAutomationPeer (Inherited from System.Windows.UIElement)
protected MethodOnDragEnter (Inherited from System.Windows.Controls.Control)
protected MethodOnDragLeave (Inherited from System.Windows.Controls.Control)
protected MethodOnDragOver (Inherited from System.Windows.Controls.Control)
protected MethodOnDrop (Inherited from System.Windows.Controls.Control)
protected MethodOnGotFocus (Inherited from System.Windows.Controls.Control)
protected MethodOnKeyDown (Inherited from System.Windows.Controls.Control)
protected MethodOnKeyUp (Inherited from System.Windows.Controls.Control)
protected MethodOnLostFocus (Inherited from System.Windows.Controls.Control)
protected MethodOnLostMouseCapture (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseEnter (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseLeave (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseLeftButtonDown (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseLeftButtonUp (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseMove (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseRightButtonDown (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseRightButtonUp (Inherited from System.Windows.Controls.Control)
protected MethodOnMouseWheel (Inherited from System.Windows.Controls.Control)
protected MethodOnTextInput (Inherited from System.Windows.Controls.Control)
protected MethodOnTextInputStart (Inherited from System.Windows.Controls.Control)
protected MethodOnTextInputUpdate (Inherited from System.Windows.Controls.Control)
Top

Public Events

 NameDescription
public EventBindingValidationError (Inherited from System.Windows.FrameworkElement)
public EventDataContextChanged (Inherited from System.Windows.FrameworkElement)
public EventDragEnter (Inherited from System.Windows.UIElement)
public EventDragLeave (Inherited from System.Windows.UIElement)
public EventDragOver (Inherited from System.Windows.UIElement)
public EventDrop (Inherited from System.Windows.UIElement)
public EventGotFocus (Inherited from System.Windows.UIElement)
public EventIsEnabledChanged (Inherited from System.Windows.Controls.Control)
public EventKeyDown (Inherited from System.Windows.UIElement)
public EventKeyUp (Inherited from System.Windows.UIElement)
public EventLayoutUpdated (Inherited from System.Windows.FrameworkElement)
public EventLoaded (Inherited from System.Windows.FrameworkElement)
public EventLostFocus (Inherited from System.Windows.UIElement)
public EventLostMouseCapture (Inherited from System.Windows.UIElement)
public EventMediaCommand (Inherited from System.Windows.UIElement)
public EventMouseEnter (Inherited from System.Windows.UIElement)
public EventMouseLeave (Inherited from System.Windows.UIElement)
public EventMouseLeftButtonDown (Inherited from System.Windows.UIElement)
public EventMouseLeftButtonUp (Inherited from System.Windows.UIElement)
public EventMouseMove (Inherited from System.Windows.UIElement)
public EventMouseRightButtonDown (Inherited from System.Windows.UIElement)
public EventMouseRightButtonUp (Inherited from System.Windows.UIElement)
public EventMouseWheel (Inherited from System.Windows.UIElement)
public EventRefreshed Occurs when the legend is refreshed. Give the opportunity for an application to add or remove legend items.  
public EventSizeChanged (Inherited from System.Windows.FrameworkElement)
public EventTextInput (Inherited from System.Windows.UIElement)
public EventTextInputStart (Inherited from System.Windows.UIElement)
public EventTextInputUpdate (Inherited from System.Windows.UIElement)
public EventUnloaded (Inherited from System.Windows.FrameworkElement)
Top

See Also

© ESRI, Inc. All Rights Reserved.