Show / Hide Table of Contents

Class ApplicationMenu

Represents an application menu control.

Inheritance
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ItemsControl
ApplicationMenu
Implements
System.Windows.Media.Animation.IAnimatable
System.ComponentModel.ISupportInitialize
System.Windows.IFrameworkInputElement
System.Windows.IInputElement
System.Windows.Markup.IQueryAmbient
System.Windows.Controls.Primitives.IContainItemStorage
System.Windows.Markup.IAddChild
System.Windows.Controls.ItemsControl.AlternationCountProperty
System.Windows.Controls.ItemsControl.AlternationIndexProperty
System.Windows.Controls.ItemsControl.DisplayMemberPathProperty
System.Windows.Controls.ItemsControl.GroupStyleSelectorProperty
System.Windows.Controls.ItemsControl.HasItemsProperty
System.Windows.Controls.ItemsControl.IsGroupingProperty
System.Windows.Controls.ItemsControl.IsTextSearchCaseSensitiveProperty
System.Windows.Controls.ItemsControl.IsTextSearchEnabledProperty
System.Windows.Controls.ItemsControl.ItemBindingGroupProperty
System.Windows.Controls.ItemsControl.ItemContainerStyleProperty
System.Windows.Controls.ItemsControl.ItemContainerStyleSelectorProperty
System.Windows.Controls.ItemsControl.ItemsPanelProperty
System.Windows.Controls.ItemsControl.ItemsSourceProperty
System.Windows.Controls.ItemsControl.ItemStringFormatProperty
System.Windows.Controls.ItemsControl.ItemTemplateProperty
System.Windows.Controls.ItemsControl.ItemTemplateSelectorProperty
System.Windows.Controls.ItemsControl.AddChild(System.Object)
System.Windows.Controls.ItemsControl.AddText(System.String)
System.Windows.Controls.ItemsControl.BeginInit()
System.Windows.Controls.ItemsControl.ContainerFromElement(System.Windows.Controls.ItemsControl, System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.ContainerFromElement(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.EndInit()
System.Windows.Controls.ItemsControl.GetAlternationIndex(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.GetItemsOwner(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.IsItemItsOwnContainer(System.Object)
System.Windows.Controls.ItemsControl.ItemsControlFromItemContainer(System.Windows.DependencyObject)
System.Windows.Controls.ItemsControl.OnAlternationCountChanged(System.Int32, System.Int32)
System.Windows.Controls.ItemsControl.OnDisplayMemberPathChanged(System.String, System.String)
System.Windows.Controls.ItemsControl.OnGroupStyleSelectorChanged(System.Windows.Controls.GroupStyleSelector, System.Windows.Controls.GroupStyleSelector)
System.Windows.Controls.ItemsControl.OnItemBindingGroupChanged(System.Windows.Data.BindingGroup, System.Windows.Data.BindingGroup)
System.Windows.Controls.ItemsControl.OnItemContainerStyleChanged(System.Windows.Style, System.Windows.Style)
System.Windows.Controls.ItemsControl.OnItemContainerStyleSelectorChanged(System.Windows.Controls.StyleSelector, System.Windows.Controls.StyleSelector)
System.Windows.Controls.ItemsControl.OnItemsPanelChanged(System.Windows.Controls.ItemsPanelTemplate, System.Windows.Controls.ItemsPanelTemplate)
System.Windows.Controls.ItemsControl.OnItemsSourceChanged(System.Collections.IEnumerable, System.Collections.IEnumerable)
System.Windows.Controls.ItemsControl.OnItemStringFormatChanged(System.String, System.String)
System.Windows.Controls.ItemsControl.OnItemTemplateChanged(System.Windows.DataTemplate, System.Windows.DataTemplate)
System.Windows.Controls.ItemsControl.OnItemTemplateSelectorChanged(System.Windows.Controls.DataTemplateSelector, System.Windows.Controls.DataTemplateSelector)
System.Windows.Controls.ItemsControl.OnKeyDown(System.Windows.Input.KeyEventArgs)
System.Windows.Controls.ItemsControl.OnTextInput(System.Windows.Input.TextCompositionEventArgs)
System.Windows.Controls.ItemsControl.ShouldApplyItemContainerStyle(System.Windows.DependencyObject, System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.Clear()
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ClearItemValue(System.Object, System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ClearValue(System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.ReadItemValue(System.Object, System.Windows.DependencyProperty)
System.Windows.Controls.ItemsControl.System.Windows.Controls.Primitives.IContainItemStorage.StoreItemValue(System.Object, System.Windows.DependencyProperty, System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Markup.IAddChild.AddChild(System.Object)
System.Windows.Controls.ItemsControl.System.Windows.Markup.IAddChild.AddText(System.String)
System.Windows.Controls.ItemsControl.ToString()
System.Windows.Controls.ItemsControl.AlternationCount
System.Windows.Controls.ItemsControl.DisplayMemberPath
System.Windows.Controls.ItemsControl.GroupStyle
System.Windows.Controls.ItemsControl.GroupStyleSelector
System.Windows.Controls.ItemsControl.HasItems
System.Windows.Controls.ItemsControl.IsGrouping
System.Windows.Controls.ItemsControl.IsTextSearchCaseSensitive
System.Windows.Controls.ItemsControl.IsTextSearchEnabled
System.Windows.Controls.ItemsControl.ItemBindingGroup
System.Windows.Controls.ItemsControl.ItemContainerGenerator
System.Windows.Controls.ItemsControl.ItemContainerStyle
System.Windows.Controls.ItemsControl.ItemContainerStyleSelector
System.Windows.Controls.ItemsControl.Items
System.Windows.Controls.ItemsControl.ItemsPanel
System.Windows.Controls.ItemsControl.ItemsSource
System.Windows.Controls.ItemsControl.ItemStringFormat
System.Windows.Controls.ItemsControl.ItemTemplate
System.Windows.Controls.ItemsControl.ItemTemplateSelector
System.Windows.Controls.ItemsControl.LogicalChildren
System.Windows.Controls.Control.BackgroundProperty
System.Windows.Controls.Control.BorderBrushProperty
System.Windows.Controls.Control.BorderThicknessProperty
System.Windows.Controls.Control.FontFamilyProperty
System.Windows.Controls.Control.FontSizeProperty
System.Windows.Controls.Control.FontStretchProperty
System.Windows.Controls.Control.FontStyleProperty
System.Windows.Controls.Control.FontWeightProperty
System.Windows.Controls.Control.ForegroundProperty
System.Windows.Controls.Control.HorizontalContentAlignmentProperty
System.Windows.Controls.Control.IsTabStopProperty
System.Windows.Controls.Control.MouseDoubleClickEvent
System.Windows.Controls.Control.PaddingProperty
System.Windows.Controls.Control.PreviewMouseDoubleClickEvent
System.Windows.Controls.Control.TabIndexProperty
System.Windows.Controls.Control.TemplateProperty
System.Windows.Controls.Control.VerticalContentAlignmentProperty
System.Windows.Controls.Control.ArrangeOverride(System.Windows.Size)
System.Windows.Controls.Control.MeasureOverride(System.Windows.Size)
System.Windows.Controls.Control.OnMouseDoubleClick(System.Windows.Input.MouseButtonEventArgs)
System.Windows.Controls.Control.OnPreviewMouseDoubleClick(System.Windows.Input.MouseButtonEventArgs)
System.Windows.Controls.Control.OnTemplateChanged(System.Windows.Controls.ControlTemplate, System.Windows.Controls.ControlTemplate)
System.Windows.Controls.Control.Background
System.Windows.Controls.Control.BorderBrush
System.Windows.Controls.Control.BorderThickness
System.Windows.Controls.Control.FontFamily
System.Windows.Controls.Control.FontSize
System.Windows.Controls.Control.FontStretch
System.Windows.Controls.Control.FontStyle
System.Windows.Controls.Control.FontWeight
System.Windows.Controls.Control.Foreground
System.Windows.Controls.Control.HandlesScrolling
System.Windows.Controls.Control.HorizontalContentAlignment
System.Windows.Controls.Control.IsTabStop
System.Windows.Controls.Control.Padding
System.Windows.Controls.Control.TabIndex
System.Windows.Controls.Control.Template
System.Windows.Controls.Control.VerticalContentAlignment
System.Windows.Controls.Control.MouseDoubleClick
System.Windows.Controls.Control.PreviewMouseDoubleClick
System.Windows.FrameworkElement.ActualHeightProperty
System.Windows.FrameworkElement.ActualWidthProperty
System.Windows.FrameworkElement.BindingGroupProperty
System.Windows.FrameworkElement.ContextMenuClosingEvent
System.Windows.FrameworkElement.ContextMenuOpeningEvent
System.Windows.FrameworkElement.ContextMenuProperty
System.Windows.FrameworkElement.CursorProperty
System.Windows.FrameworkElement.DataContextProperty
System.Windows.FrameworkElement.DefaultStyleKeyProperty
System.Windows.FrameworkElement.FlowDirectionProperty
System.Windows.FrameworkElement.FocusVisualStyleProperty
System.Windows.FrameworkElement.ForceCursorProperty
System.Windows.FrameworkElement.HeightProperty
System.Windows.FrameworkElement.HorizontalAlignmentProperty
System.Windows.FrameworkElement.InputScopeProperty
System.Windows.FrameworkElement.LanguageProperty
System.Windows.FrameworkElement.LayoutTransformProperty
System.Windows.FrameworkElement.LoadedEvent
System.Windows.FrameworkElement.MarginProperty
System.Windows.FrameworkElement.MaxHeightProperty
System.Windows.FrameworkElement.MaxWidthProperty
System.Windows.FrameworkElement.MinHeightProperty
System.Windows.FrameworkElement.MinWidthProperty
System.Windows.FrameworkElement.NameProperty
System.Windows.FrameworkElement.OverridesDefaultStyleProperty
System.Windows.FrameworkElement.RequestBringIntoViewEvent
System.Windows.FrameworkElement.SizeChangedEvent
System.Windows.FrameworkElement.StyleProperty
System.Windows.FrameworkElement.TagProperty
System.Windows.FrameworkElement.ToolTipClosingEvent
System.Windows.FrameworkElement.ToolTipOpeningEvent
System.Windows.FrameworkElement.ToolTipProperty
System.Windows.FrameworkElement.UnloadedEvent
System.Windows.FrameworkElement.UseLayoutRoundingProperty
System.Windows.FrameworkElement.VerticalAlignmentProperty
System.Windows.FrameworkElement.WidthProperty
System.Windows.FrameworkElement.AddLogicalChild(System.Object)
System.Windows.FrameworkElement.ApplyTemplate()
System.Windows.FrameworkElement.ArrangeCore(System.Windows.Rect)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.FrameworkElement.BeginStoryboard(System.Windows.Media.Animation.Storyboard, System.Windows.Media.Animation.HandoffBehavior, System.Boolean)
System.Windows.FrameworkElement.BringIntoView()
System.Windows.FrameworkElement.BringIntoView(System.Windows.Rect)
System.Windows.FrameworkElement.FindName(System.String)
System.Windows.FrameworkElement.FindResource(System.Object)
System.Windows.FrameworkElement.GetBindingExpression(System.Windows.DependencyProperty)
System.Windows.FrameworkElement.GetFlowDirection(System.Windows.DependencyObject)
System.Windows.FrameworkElement.GetLayoutClip(System.Windows.Size)
System.Windows.FrameworkElement.GetTemplateChild(System.String)
System.Windows.FrameworkElement.GetUIParentCore()
System.Windows.FrameworkElement.GetVisualChild(System.Int32)
System.Windows.FrameworkElement.MeasureCore(System.Windows.Size)
System.Windows.FrameworkElement.MoveFocus(System.Windows.Input.TraversalRequest)
System.Windows.FrameworkElement.OnContextMenuClosing(System.Windows.Controls.ContextMenuEventArgs)
System.Windows.FrameworkElement.OnContextMenuOpening(System.Windows.Controls.ContextMenuEventArgs)
System.Windows.FrameworkElement.OnGotFocus(System.Windows.RoutedEventArgs)
System.Windows.FrameworkElement.OnInitialized(System.EventArgs)
System.Windows.FrameworkElement.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.FrameworkElement.OnRenderSizeChanged(System.Windows.SizeChangedInfo)
System.Windows.FrameworkElement.OnStyleChanged(System.Windows.Style, System.Windows.Style)
System.Windows.FrameworkElement.OnToolTipClosing(System.Windows.Controls.ToolTipEventArgs)
System.Windows.FrameworkElement.OnToolTipOpening(System.Windows.Controls.ToolTipEventArgs)
System.Windows.FrameworkElement.OnVisualParentChanged(System.Windows.DependencyObject)
System.Windows.FrameworkElement.ParentLayoutInvalidated(System.Windows.UIElement)
System.Windows.FrameworkElement.PredictFocus(System.Windows.Input.FocusNavigationDirection)
System.Windows.FrameworkElement.RegisterName(System.String, System.Object)
System.Windows.FrameworkElement.RemoveLogicalChild(System.Object)
System.Windows.FrameworkElement.SetBinding(System.Windows.DependencyProperty, System.String)
System.Windows.FrameworkElement.SetBinding(System.Windows.DependencyProperty, System.Windows.Data.BindingBase)
System.Windows.FrameworkElement.SetFlowDirection(System.Windows.DependencyObject, System.Windows.FlowDirection)
System.Windows.FrameworkElement.SetResourceReference(System.Windows.DependencyProperty, System.Object)
System.Windows.FrameworkElement.System.Windows.Markup.IQueryAmbient.IsAmbientPropertyAvailable(System.String)
System.Windows.FrameworkElement.TryFindResource(System.Object)
System.Windows.FrameworkElement.UnregisterName(System.String)
System.Windows.FrameworkElement.UpdateDefaultStyle()
System.Windows.FrameworkElement.ActualHeight
System.Windows.FrameworkElement.ActualWidth
System.Windows.FrameworkElement.BindingGroup
System.Windows.FrameworkElement.ContextMenu
System.Windows.FrameworkElement.Cursor
System.Windows.FrameworkElement.DataContext
System.Windows.FrameworkElement.DefaultStyleKey
System.Windows.FrameworkElement.FlowDirection
System.Windows.FrameworkElement.FocusVisualStyle
System.Windows.FrameworkElement.ForceCursor
System.Windows.FrameworkElement.Height
System.Windows.FrameworkElement.HorizontalAlignment
System.Windows.FrameworkElement.InheritanceBehavior
System.Windows.FrameworkElement.InputScope
System.Windows.FrameworkElement.IsInitialized
System.Windows.FrameworkElement.IsLoaded
System.Windows.FrameworkElement.Language
System.Windows.FrameworkElement.LayoutTransform
System.Windows.FrameworkElement.Margin
System.Windows.FrameworkElement.MaxHeight
System.Windows.FrameworkElement.MaxWidth
System.Windows.FrameworkElement.MinHeight
System.Windows.FrameworkElement.MinWidth
System.Windows.FrameworkElement.Name
System.Windows.FrameworkElement.OverridesDefaultStyle
System.Windows.FrameworkElement.Parent
System.Windows.FrameworkElement.Resources
System.Windows.FrameworkElement.Style
System.Windows.FrameworkElement.Tag
System.Windows.FrameworkElement.TemplatedParent
System.Windows.FrameworkElement.ToolTip
System.Windows.FrameworkElement.Triggers
System.Windows.FrameworkElement.UseLayoutRounding
System.Windows.FrameworkElement.VerticalAlignment
System.Windows.FrameworkElement.VisualChildrenCount
System.Windows.FrameworkElement.Width
System.Windows.FrameworkElement.ContextMenuClosing
System.Windows.FrameworkElement.ContextMenuOpening
System.Windows.FrameworkElement.DataContextChanged
System.Windows.FrameworkElement.Initialized
System.Windows.FrameworkElement.Loaded
System.Windows.FrameworkElement.RequestBringIntoView
System.Windows.FrameworkElement.SizeChanged
System.Windows.FrameworkElement.SourceUpdated
System.Windows.FrameworkElement.TargetUpdated
System.Windows.FrameworkElement.ToolTipClosing
System.Windows.FrameworkElement.ToolTipOpening
System.Windows.FrameworkElement.Unloaded
System.Windows.UIElement.AllowDropProperty
System.Windows.UIElement.AreAnyTouchesCapturedProperty
System.Windows.UIElement.AreAnyTouchesCapturedWithinProperty
System.Windows.UIElement.AreAnyTouchesDirectlyOverProperty
System.Windows.UIElement.AreAnyTouchesOverProperty
System.Windows.UIElement.BitmapEffectInputProperty
System.Windows.UIElement.BitmapEffectProperty
System.Windows.UIElement.CacheModeProperty
System.Windows.UIElement.ClipProperty
System.Windows.UIElement.ClipToBoundsProperty
System.Windows.UIElement.DragEnterEvent
System.Windows.UIElement.DragLeaveEvent
System.Windows.UIElement.DragOverEvent
System.Windows.UIElement.DropEvent
System.Windows.UIElement.EffectProperty
System.Windows.UIElement.FocusableProperty
System.Windows.UIElement.GiveFeedbackEvent
System.Windows.UIElement.GotFocusEvent
System.Windows.UIElement.GotKeyboardFocusEvent
System.Windows.UIElement.GotMouseCaptureEvent
System.Windows.UIElement.GotStylusCaptureEvent
System.Windows.UIElement.GotTouchCaptureEvent
System.Windows.UIElement.IsEnabledProperty
System.Windows.UIElement.IsFocusedProperty
System.Windows.UIElement.IsHitTestVisibleProperty
System.Windows.UIElement.IsKeyboardFocusedProperty
System.Windows.UIElement.IsKeyboardFocusWithinProperty
System.Windows.UIElement.IsManipulationEnabledProperty
System.Windows.UIElement.IsMouseCapturedProperty
System.Windows.UIElement.IsMouseCaptureWithinProperty
System.Windows.UIElement.IsMouseDirectlyOverProperty
System.Windows.UIElement.IsMouseOverProperty
System.Windows.UIElement.IsStylusCapturedProperty
System.Windows.UIElement.IsStylusCaptureWithinProperty
System.Windows.UIElement.IsStylusDirectlyOverProperty
System.Windows.UIElement.IsStylusOverProperty
System.Windows.UIElement.IsVisibleProperty
System.Windows.UIElement.KeyDownEvent
System.Windows.UIElement.KeyUpEvent
System.Windows.UIElement.LostFocusEvent
System.Windows.UIElement.LostKeyboardFocusEvent
System.Windows.UIElement.LostMouseCaptureEvent
System.Windows.UIElement.LostStylusCaptureEvent
System.Windows.UIElement.LostTouchCaptureEvent
System.Windows.UIElement.ManipulationBoundaryFeedbackEvent
System.Windows.UIElement.ManipulationCompletedEvent
System.Windows.UIElement.ManipulationDeltaEvent
System.Windows.UIElement.ManipulationInertiaStartingEvent
System.Windows.UIElement.ManipulationStartedEvent
System.Windows.UIElement.ManipulationStartingEvent
System.Windows.UIElement.MouseDownEvent
System.Windows.UIElement.MouseEnterEvent
System.Windows.UIElement.MouseLeaveEvent
System.Windows.UIElement.MouseLeftButtonDownEvent
System.Windows.UIElement.MouseLeftButtonUpEvent
System.Windows.UIElement.MouseMoveEvent
System.Windows.UIElement.MouseRightButtonDownEvent
System.Windows.UIElement.MouseRightButtonUpEvent
System.Windows.UIElement.MouseUpEvent
System.Windows.UIElement.MouseWheelEvent
System.Windows.UIElement.OpacityMaskProperty
System.Windows.UIElement.OpacityProperty
System.Windows.UIElement.PreviewDragEnterEvent
System.Windows.UIElement.PreviewDragLeaveEvent
System.Windows.UIElement.PreviewDragOverEvent
System.Windows.UIElement.PreviewDropEvent
System.Windows.UIElement.PreviewGiveFeedbackEvent
System.Windows.UIElement.PreviewGotKeyboardFocusEvent
System.Windows.UIElement.PreviewKeyDownEvent
System.Windows.UIElement.PreviewKeyUpEvent
System.Windows.UIElement.PreviewLostKeyboardFocusEvent
System.Windows.UIElement.PreviewMouseDownEvent
System.Windows.UIElement.PreviewMouseLeftButtonDownEvent
System.Windows.UIElement.PreviewMouseLeftButtonUpEvent
System.Windows.UIElement.PreviewMouseMoveEvent
System.Windows.UIElement.PreviewMouseRightButtonDownEvent
System.Windows.UIElement.PreviewMouseRightButtonUpEvent
System.Windows.UIElement.PreviewMouseUpEvent
System.Windows.UIElement.PreviewMouseWheelEvent
System.Windows.UIElement.PreviewQueryContinueDragEvent
System.Windows.UIElement.PreviewStylusButtonDownEvent
System.Windows.UIElement.PreviewStylusButtonUpEvent
System.Windows.UIElement.PreviewStylusDownEvent
System.Windows.UIElement.PreviewStylusInAirMoveEvent
System.Windows.UIElement.PreviewStylusInRangeEvent
System.Windows.UIElement.PreviewStylusMoveEvent
System.Windows.UIElement.PreviewStylusOutOfRangeEvent
System.Windows.UIElement.PreviewStylusSystemGestureEvent
System.Windows.UIElement.PreviewStylusUpEvent
System.Windows.UIElement.PreviewTextInputEvent
System.Windows.UIElement.PreviewTouchDownEvent
System.Windows.UIElement.PreviewTouchMoveEvent
System.Windows.UIElement.PreviewTouchUpEvent
System.Windows.UIElement.QueryContinueDragEvent
System.Windows.UIElement.QueryCursorEvent
System.Windows.UIElement.RenderTransformOriginProperty
System.Windows.UIElement.RenderTransformProperty
System.Windows.UIElement.SnapsToDevicePixelsProperty
System.Windows.UIElement.StylusButtonDownEvent
System.Windows.UIElement.StylusButtonUpEvent
System.Windows.UIElement.StylusDownEvent
System.Windows.UIElement.StylusEnterEvent
System.Windows.UIElement.StylusInAirMoveEvent
System.Windows.UIElement.StylusInRangeEvent
System.Windows.UIElement.StylusLeaveEvent
System.Windows.UIElement.StylusMoveEvent
System.Windows.UIElement.StylusOutOfRangeEvent
System.Windows.UIElement.StylusSystemGestureEvent
System.Windows.UIElement.StylusUpEvent
System.Windows.UIElement.TextInputEvent
System.Windows.UIElement.TouchDownEvent
System.Windows.UIElement.TouchEnterEvent
System.Windows.UIElement.TouchLeaveEvent
System.Windows.UIElement.TouchMoveEvent
System.Windows.UIElement.TouchUpEvent
System.Windows.UIElement.UidProperty
System.Windows.UIElement.VisibilityProperty
System.Windows.UIElement.AddHandler(System.Windows.RoutedEvent, System.Delegate)
System.Windows.UIElement.AddHandler(System.Windows.RoutedEvent, System.Delegate, System.Boolean)
System.Windows.UIElement.AddToEventRoute(System.Windows.EventRoute, System.Windows.RoutedEventArgs)
System.Windows.UIElement.ApplyAnimationClock(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationClock)
System.Windows.UIElement.ApplyAnimationClock(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationClock, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.UIElement.Arrange(System.Windows.Rect)
System.Windows.UIElement.BeginAnimation(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationTimeline)
System.Windows.UIElement.BeginAnimation(System.Windows.DependencyProperty, System.Windows.Media.Animation.AnimationTimeline, System.Windows.Media.Animation.HandoffBehavior)
System.Windows.UIElement.CaptureMouse()
System.Windows.UIElement.CaptureStylus()
System.Windows.UIElement.CaptureTouch(System.Windows.Input.TouchDevice)
System.Windows.UIElement.Focus()
System.Windows.UIElement.GetAnimationBaseValue(System.Windows.DependencyProperty)
System.Windows.UIElement.HitTestCore(System.Windows.Media.GeometryHitTestParameters)
System.Windows.UIElement.HitTestCore(System.Windows.Media.PointHitTestParameters)
System.Windows.UIElement.InputHitTest(System.Windows.Point)
System.Windows.UIElement.InvalidateArrange()
System.Windows.UIElement.InvalidateMeasure()
System.Windows.UIElement.InvalidateVisual()
System.Windows.UIElement.Measure(System.Windows.Size)
System.Windows.UIElement.OnAccessKey(System.Windows.Input.AccessKeyEventArgs)
System.Windows.UIElement.OnChildDesiredSizeChanged(System.Windows.UIElement)
System.Windows.UIElement.OnCreateAutomationPeer()
System.Windows.UIElement.OnDragEnter(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDragLeave(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDragOver(System.Windows.DragEventArgs)
System.Windows.UIElement.OnDrop(System.Windows.DragEventArgs)
System.Windows.UIElement.OnGiveFeedback(System.Windows.GiveFeedbackEventArgs)
System.Windows.UIElement.OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnGotMouseCapture(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnGotStylusCapture(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnGotTouchCapture(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnIsKeyboardFocusedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsKeyboardFocusWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseCapturedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseCaptureWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsMouseDirectlyOverChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusCapturedChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusCaptureWithinChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnIsStylusDirectlyOverChanged(System.Windows.DependencyPropertyChangedEventArgs)
System.Windows.UIElement.OnKeyUp(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnLostFocus(System.Windows.RoutedEventArgs)
System.Windows.UIElement.OnLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnLostMouseCapture(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnLostStylusCapture(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnLostTouchCapture(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnManipulationBoundaryFeedback(System.Windows.Input.ManipulationBoundaryFeedbackEventArgs)
System.Windows.UIElement.OnManipulationCompleted(System.Windows.Input.ManipulationCompletedEventArgs)
System.Windows.UIElement.OnManipulationDelta(System.Windows.Input.ManipulationDeltaEventArgs)
System.Windows.UIElement.OnManipulationInertiaStarting(System.Windows.Input.ManipulationInertiaStartingEventArgs)
System.Windows.UIElement.OnManipulationStarted(System.Windows.Input.ManipulationStartedEventArgs)
System.Windows.UIElement.OnManipulationStarting(System.Windows.Input.ManipulationStartingEventArgs)
System.Windows.UIElement.OnMouseDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseEnter(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseLeave(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseMove(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseRightButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnMouseWheel(System.Windows.Input.MouseWheelEventArgs)
System.Windows.UIElement.OnPreviewDragEnter(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDragLeave(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDragOver(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewDrop(System.Windows.DragEventArgs)
System.Windows.UIElement.OnPreviewGiveFeedback(System.Windows.GiveFeedbackEventArgs)
System.Windows.UIElement.OnPreviewGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnPreviewKeyDown(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnPreviewKeyUp(System.Windows.Input.KeyEventArgs)
System.Windows.UIElement.OnPreviewLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs)
System.Windows.UIElement.OnPreviewMouseDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseLeftButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseMove(System.Windows.Input.MouseEventArgs)
System.Windows.UIElement.OnPreviewMouseRightButtonDown(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseRightButtonUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseUp(System.Windows.Input.MouseButtonEventArgs)
System.Windows.UIElement.OnPreviewMouseWheel(System.Windows.Input.MouseWheelEventArgs)
System.Windows.UIElement.OnPreviewQueryContinueDrag(System.Windows.QueryContinueDragEventArgs)
System.Windows.UIElement.OnPreviewStylusButtonDown(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnPreviewStylusButtonUp(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnPreviewStylusDown(System.Windows.Input.StylusDownEventArgs)
System.Windows.UIElement.OnPreviewStylusInAirMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusInRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusOutOfRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewStylusSystemGesture(System.Windows.Input.StylusSystemGestureEventArgs)
System.Windows.UIElement.OnPreviewStylusUp(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnPreviewTextInput(System.Windows.Input.TextCompositionEventArgs)
System.Windows.UIElement.OnPreviewTouchDown(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnPreviewTouchMove(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnPreviewTouchUp(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnQueryContinueDrag(System.Windows.QueryContinueDragEventArgs)
System.Windows.UIElement.OnQueryCursor(System.Windows.Input.QueryCursorEventArgs)
System.Windows.UIElement.OnRender(System.Windows.Media.DrawingContext)
System.Windows.UIElement.OnStylusButtonDown(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnStylusButtonUp(System.Windows.Input.StylusButtonEventArgs)
System.Windows.UIElement.OnStylusDown(System.Windows.Input.StylusDownEventArgs)
System.Windows.UIElement.OnStylusEnter(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusInAirMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusInRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusLeave(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusMove(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusOutOfRange(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnStylusSystemGesture(System.Windows.Input.StylusSystemGestureEventArgs)
System.Windows.UIElement.OnStylusUp(System.Windows.Input.StylusEventArgs)
System.Windows.UIElement.OnTouchDown(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchEnter(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchLeave(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchMove(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.OnTouchUp(System.Windows.Input.TouchEventArgs)
System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
System.Windows.UIElement.ReleaseAllTouchCaptures()
System.Windows.UIElement.ReleaseMouseCapture()
System.Windows.UIElement.ReleaseStylusCapture()
System.Windows.UIElement.ReleaseTouchCapture(System.Windows.Input.TouchDevice)
System.Windows.UIElement.RemoveHandler(System.Windows.RoutedEvent, System.Delegate)
System.Windows.UIElement.TranslatePoint(System.Windows.Point, System.Windows.UIElement)
System.Windows.UIElement.UpdateLayout()
System.Windows.UIElement.AllowDrop
System.Windows.UIElement.AreAnyTouchesCaptured
System.Windows.UIElement.AreAnyTouchesCapturedWithin
System.Windows.UIElement.AreAnyTouchesDirectlyOver
System.Windows.UIElement.AreAnyTouchesOver
System.Windows.UIElement.BitmapEffect
System.Windows.UIElement.BitmapEffectInput
System.Windows.UIElement.CacheMode
System.Windows.UIElement.Clip
System.Windows.UIElement.ClipToBounds
System.Windows.UIElement.CommandBindings
System.Windows.UIElement.DesiredSize
System.Windows.UIElement.Effect
System.Windows.UIElement.Focusable
System.Windows.UIElement.HasAnimatedProperties
System.Windows.UIElement.HasEffectiveKeyboardFocus
System.Windows.UIElement.InputBindings
System.Windows.UIElement.IsArrangeValid
System.Windows.UIElement.IsEnabled
System.Windows.UIElement.IsEnabledCore
System.Windows.UIElement.IsFocused
System.Windows.UIElement.IsHitTestVisible
System.Windows.UIElement.IsInputMethodEnabled
System.Windows.UIElement.IsKeyboardFocused
System.Windows.UIElement.IsKeyboardFocusWithin
System.Windows.UIElement.IsManipulationEnabled
System.Windows.UIElement.IsMeasureValid
System.Windows.UIElement.IsMouseCaptured
System.Windows.UIElement.IsMouseCaptureWithin
System.Windows.UIElement.IsMouseDirectlyOver
System.Windows.UIElement.IsMouseOver
System.Windows.UIElement.IsStylusCaptured
System.Windows.UIElement.IsStylusCaptureWithin
System.Windows.UIElement.IsStylusDirectlyOver
System.Windows.UIElement.IsStylusOver
System.Windows.UIElement.IsVisible
System.Windows.UIElement.Opacity
System.Windows.UIElement.OpacityMask
System.Windows.UIElement.PersistId
System.Windows.UIElement.RenderSize
System.Windows.UIElement.RenderTransform
System.Windows.UIElement.RenderTransformOrigin
System.Windows.UIElement.SnapsToDevicePixels
System.Windows.UIElement.StylusPlugIns
System.Windows.UIElement.TouchesCaptured
System.Windows.UIElement.TouchesCapturedWithin
System.Windows.UIElement.TouchesDirectlyOver
System.Windows.UIElement.TouchesOver
System.Windows.UIElement.Uid
System.Windows.UIElement.Visibility
System.Windows.UIElement.DragEnter
System.Windows.UIElement.DragLeave
System.Windows.UIElement.DragOver
System.Windows.UIElement.Drop
System.Windows.UIElement.FocusableChanged
System.Windows.UIElement.GiveFeedback
System.Windows.UIElement.GotFocus
System.Windows.UIElement.GotKeyboardFocus
System.Windows.UIElement.GotMouseCapture
System.Windows.UIElement.GotStylusCapture
System.Windows.UIElement.GotTouchCapture
System.Windows.UIElement.IsEnabledChanged
System.Windows.UIElement.IsHitTestVisibleChanged
System.Windows.UIElement.IsKeyboardFocusedChanged
System.Windows.UIElement.IsKeyboardFocusWithinChanged
System.Windows.UIElement.IsMouseCapturedChanged
System.Windows.UIElement.IsMouseCaptureWithinChanged
System.Windows.UIElement.IsMouseDirectlyOverChanged
System.Windows.UIElement.IsStylusCapturedChanged
System.Windows.UIElement.IsStylusCaptureWithinChanged
System.Windows.UIElement.IsStylusDirectlyOverChanged
System.Windows.UIElement.IsVisibleChanged
System.Windows.UIElement.KeyDown
System.Windows.UIElement.KeyUp
System.Windows.UIElement.LayoutUpdated
System.Windows.UIElement.LostFocus
System.Windows.UIElement.LostKeyboardFocus
System.Windows.UIElement.LostMouseCapture
System.Windows.UIElement.LostStylusCapture
System.Windows.UIElement.LostTouchCapture
System.Windows.UIElement.ManipulationBoundaryFeedback
System.Windows.UIElement.ManipulationCompleted
System.Windows.UIElement.ManipulationDelta
System.Windows.UIElement.ManipulationInertiaStarting
System.Windows.UIElement.ManipulationStarted
System.Windows.UIElement.ManipulationStarting
System.Windows.UIElement.MouseDown
System.Windows.UIElement.MouseEnter
System.Windows.UIElement.MouseLeave
System.Windows.UIElement.MouseLeftButtonDown
System.Windows.UIElement.MouseLeftButtonUp
System.Windows.UIElement.MouseMove
System.Windows.UIElement.MouseRightButtonDown
System.Windows.UIElement.MouseRightButtonUp
System.Windows.UIElement.MouseUp
System.Windows.UIElement.MouseWheel
System.Windows.UIElement.PreviewDragEnter
System.Windows.UIElement.PreviewDragLeave
System.Windows.UIElement.PreviewDragOver
System.Windows.UIElement.PreviewDrop
System.Windows.UIElement.PreviewGiveFeedback
System.Windows.UIElement.PreviewGotKeyboardFocus
System.Windows.UIElement.PreviewKeyDown
System.Windows.UIElement.PreviewKeyUp
System.Windows.UIElement.PreviewLostKeyboardFocus
System.Windows.UIElement.PreviewMouseDown
System.Windows.UIElement.PreviewMouseLeftButtonDown
System.Windows.UIElement.PreviewMouseLeftButtonUp
System.Windows.UIElement.PreviewMouseMove
System.Windows.UIElement.PreviewMouseRightButtonDown
System.Windows.UIElement.PreviewMouseRightButtonUp
System.Windows.UIElement.PreviewMouseUp
System.Windows.UIElement.PreviewMouseWheel
System.Windows.UIElement.PreviewQueryContinueDrag
System.Windows.UIElement.PreviewStylusButtonDown
System.Windows.UIElement.PreviewStylusButtonUp
System.Windows.UIElement.PreviewStylusDown
System.Windows.UIElement.PreviewStylusInAirMove
System.Windows.UIElement.PreviewStylusInRange
System.Windows.UIElement.PreviewStylusMove
System.Windows.UIElement.PreviewStylusOutOfRange
System.Windows.UIElement.PreviewStylusSystemGesture
System.Windows.UIElement.PreviewStylusUp
System.Windows.UIElement.PreviewTextInput
System.Windows.UIElement.PreviewTouchDown
System.Windows.UIElement.PreviewTouchMove
System.Windows.UIElement.PreviewTouchUp
System.Windows.UIElement.QueryContinueDrag
System.Windows.UIElement.QueryCursor
System.Windows.UIElement.StylusButtonDown
System.Windows.UIElement.StylusButtonUp
System.Windows.UIElement.StylusDown
System.Windows.UIElement.StylusEnter
System.Windows.UIElement.StylusInAirMove
System.Windows.UIElement.StylusInRange
System.Windows.UIElement.StylusLeave
System.Windows.UIElement.StylusMove
System.Windows.UIElement.StylusOutOfRange
System.Windows.UIElement.StylusSystemGesture
System.Windows.UIElement.StylusUp
System.Windows.UIElement.TextInput
System.Windows.UIElement.TouchDown
System.Windows.UIElement.TouchEnter
System.Windows.UIElement.TouchLeave
System.Windows.UIElement.TouchMove
System.Windows.UIElement.TouchUp
System.Windows.Media.Visual.AddVisualChild(System.Windows.Media.Visual)
System.Windows.Media.Visual.FindCommonVisualAncestor(System.Windows.DependencyObject)
System.Windows.Media.Visual.IsAncestorOf(System.Windows.DependencyObject)
System.Windows.Media.Visual.IsDescendantOf(System.Windows.DependencyObject)
System.Windows.Media.Visual.OnDpiChanged(System.Windows.DpiScale, System.Windows.DpiScale)
System.Windows.Media.Visual.OnVisualChildrenChanged(System.Windows.DependencyObject, System.Windows.DependencyObject)
System.Windows.Media.Visual.PointFromScreen(System.Windows.Point)
System.Windows.Media.Visual.PointToScreen(System.Windows.Point)
System.Windows.Media.Visual.RemoveVisualChild(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToAncestor(System.Windows.Media.Media3D.Visual3D)
System.Windows.Media.Visual.TransformToAncestor(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToDescendant(System.Windows.Media.Visual)
System.Windows.Media.Visual.TransformToVisual(System.Windows.Media.Visual)
System.Windows.Media.Visual.VisualBitmapEffect
System.Windows.Media.Visual.VisualBitmapEffectInput
System.Windows.Media.Visual.VisualBitmapScalingMode
System.Windows.Media.Visual.VisualCacheMode
System.Windows.Media.Visual.VisualClearTypeHint
System.Windows.Media.Visual.VisualClip
System.Windows.Media.Visual.VisualEdgeMode
System.Windows.Media.Visual.VisualEffect
System.Windows.Media.Visual.VisualOffset
System.Windows.Media.Visual.VisualOpacity
System.Windows.Media.Visual.VisualOpacityMask
System.Windows.Media.Visual.VisualParent
System.Windows.Media.Visual.VisualScrollableAreaClip
System.Windows.Media.Visual.VisualTextHintingMode
System.Windows.Media.Visual.VisualTextRenderingMode
System.Windows.Media.Visual.VisualTransform
System.Windows.Media.Visual.VisualXSnappingGuidelines
System.Windows.Media.Visual.VisualYSnappingGuidelines
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.ClearValue(System.Windows.DependencyPropertyKey)
System.Windows.DependencyObject.CoerceValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.Equals(System.Object)
System.Windows.DependencyObject.GetHashCode()
System.Windows.DependencyObject.GetLocalValueEnumerator()
System.Windows.DependencyObject.GetValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.InvalidateProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.ReadLocalValue(System.Windows.DependencyProperty)
System.Windows.DependencyObject.SetCurrentValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object)
System.Windows.DependencyObject.SetValue(System.Windows.DependencyPropertyKey, System.Object)
System.Windows.DependencyObject.ShouldSerializeProperty(System.Windows.DependencyProperty)
System.Windows.DependencyObject.DependencyObjectType
System.Windows.DependencyObject.IsSealed
System.Windows.Threading.DispatcherObject.Dispatcher
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[TemplatePart(Name = "PART_ScrollViewer", Type = typeof(ScrollViewer))]
public class ApplicationMenu : ItemsControl, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IContainItemStorage, IAddChild
Examples

This example illustrates how to use the ApplicationMenu by creating ApplicationMenuItem in xaml.

    <SAF:MainWindow.ApplicationMenu>
    <SAF:ApplicationMenu>
        <!-- #region ApplicationMenuItems -->
        <SAF:ApplicationMenuItem Caption="Administration"
                                 Description="Provides basic administration functionality."
                                 ImageSource="AdminPreviewImage.png"
                                 IconSource="AdminIcon.png"
                                 Command="{Binding ActivateAdministrationCommand}" />
        <SAF:ApplicationMenuItem Caption="Monitoring"
                                 Description="Provides monitoring functionality for the running process."
                                 ImageSource="MonitoringPreviewImage.png"
                                 IconSource="MonitoringIcon.png"
                                 Command="{Binding ActivateMonitoringCommand}" />
        <SAF:ApplicationMenuItem Caption="Analysis"
                                 Description="Provides functionality to analyze the completed processes."
                                 ImageSource="AnalysisPreviewImage.png"
                                 IconSource="AnalysisIcon.png"
                                 Command="{Binding ActivateMonitoringCommand}" />

This example illustrates how to use the ApplicationMenu by binding a list of objects that implement IApplicationMenuItem.

[Export(typeof(IApplicationMenuItem))]
public class AdminApplicationMenuItem : IApplicationMenuItem
{
    public AdminApplicationMenuItem()
    {
        Caption = "Administration";
        Description = "Provides basic administration functionality.";
        ImageSource = new Uri("AdminPreviewImage.png");
        Icon = new Uri("AdminIcon.png");
    }

    /// <summary>
    /// Gets the caption.
    /// </summary>
    public String Caption { get; }

    /// <summary>
    /// Gets the description.
    /// </summary>
    public String Description { get; }

    /// <summary>
    /// Gets the icon source.
    /// </summary>
    public Object Icon { get; }

    /// <summary>
    /// Gets the image source.
    /// </summary>
    public Uri ImageSource { get; }

    /// <summary>
    /// Called when the <see cref="ButtonBase.ClickEvent" /> of the <see cref="ApplicationMenuItem" /> is raised.
    /// </summary>
    public void OnActivate()
    {
        // This method is called when the menu item is clicked.
    }
}
[Export(typeof(IApplicationMenuItem))]
public class MonitoringApplicationMenuItem : IApplicationMenuItem
{
    public MonitoringApplicationMenuItem()
    {
        Caption = "Monitoring";
        Description = "Provides monitoring functionality for the running process.";
        ImageSource = new Uri("MonitoringPreviewImage.png");
        Icon = new Uri("MonitoringIcon.png");
    }

    /// <summary>
    /// Gets or the caption.
    /// </summary>
    public String Caption { get; }

    /// <summary>
    /// Gets or the description.
    /// </summary>
    public String Description { get; }

    /// <summary>
    /// Gets or the icon source.
    /// </summary>
    public Object Icon { get; }

    /// <summary>
    /// Gets or the image source.
    /// </summary>
    public Uri ImageSource { get; }

    /// <summary>
    /// Called when the <see cref="ButtonBase.ClickEvent" /> of the <see cref="ApplicationMenuItem" /> is raised.
    /// </summary>
    public void OnActivate()
    {
        // This method is called when the menu item is clicked.
    }
}
[Export]
public class ApplicationMenuViewModel : ViewModelBase
{
    [ImportingConstructor]
    public ApplicationMenuViewModel([ImportMany] IEnumerable<IApplicationMenuItem> applicationMenuItems)
    {
        ApplicationMenuItems = new ObservableCollection<IApplicationMenuItem>(applicationMenuItems);
    }

    public ObservableCollection<IApplicationMenuItem> ApplicationMenuItems { get; }
}
<SAF:MainWindow x:Class="Sartorius.SAF.Documentation.Examples.Controls.MainWindow.ApplicationMenuExample"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:SAF="http://www.sartorius.com/SAF"
            Title="Example App">

<SAF:MainWindow.ApplicationMenu>
    <SAF:ApplicationMenu BackgroundImage="pack://application:,,,/MyAssemblyName;component/Resources/Images/Image"
                         ItemsSource="{Binding ApplicationMenuItems}">
        <SAF:ApplicationMenu.AuxiliaryPane>
            <SAF:AuxiliaryPaneItem Header="About"
                                   Command="{Binding ShowAboutDialogCommand}">
                <TextBlock TextTrimming="CharacterEllipsis"
                           LineHeight="16"
                           TextWrapping="Wrap"
                           Text="Display information about the SAF SampleApp application and its installed modules." />
            </SAF:AuxiliaryPaneItem>
            <SAF:AuxiliaryPaneItem Header="Help"
                                   Command="{Binding ShowHelpCommand}">
                <TextBlock TextTrimming="CharacterEllipsis"
                           LineHeight="16"
                           TextWrapping="Wrap"
                           Text="Open the help window to get more information on how to use this application." />
            </SAF:AuxiliaryPaneItem>
        </SAF:ApplicationMenu.AuxiliaryPane>

        <SAF:ApplicationMenu.FooterPaneContent>
            <TextBlock Text="Copyright 2016 by Sartorius"
                       Style="{SAF:Style TextBlock}"
                       VerticalAlignment="Bottom"
                       Foreground="{SAF:Brush Foreground06}"
                       Margin="20,0,0,18" />
        </SAF:ApplicationMenu.FooterPaneContent>
    </SAF:ApplicationMenu>
</SAF:MainWindow.ApplicationMenu>

</SAF:MainWindow>

Constructors

View Source

ApplicationMenu()

Creates a new instance of the ApplicationMenu class.

Declaration
public ApplicationMenu()

Fields

View Source

AuxiliaryPaneProperty

The System.Windows.DependencyProperty for the AuxiliaryPane property.

Declaration
public static readonly DependencyProperty AuxiliaryPaneProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

BackgroundImageProperty

The System.Windows.DependencyProperty for the BackgroundImage property.

Declaration
public static readonly DependencyProperty BackgroundImageProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

BackgroundImageTemplateProperty

Defines the System.Windows.DependencyProperty for the BackgroundImage property.

Declaration
public static readonly DependencyProperty BackgroundImageTemplateProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

FooterPaneContentProperty

The System.Windows.DependencyProperty for the FooterPaneContent property.

Declaration
public static readonly DependencyProperty FooterPaneContentProperty
Field Value
Type Description
System.Windows.DependencyProperty
View Source

VisibleItemCountProperty

Identifies the VisibleItemCount dependency property.

Declaration
public static readonly DependencyProperty VisibleItemCountProperty
Field Value
Type Description
System.Windows.DependencyProperty

Properties

View Source

AuxiliaryPane

Gets or sets the auxiliary pane.

Declaration
public IList AuxiliaryPane { get; set; }
Property Value
Type Description
System.Collections.IList
View Source

BackgroundImage

Gets or sets the background image for the application menu.

Declaration
public object BackgroundImage { get; set; }
Property Value
Type Description
System.Object
Remarks

You can directly set an System.Uri of an image. You can also set any System.Windows.FrameworkElement or any System.Object for which an implicit System.Windows.DataTemplate exists.

View Source

BackgroundImageTemplate

Gets or sets the System.Windows.DataTemplate for the BackgroundImage.

Declaration
public DataTemplate BackgroundImageTemplate { get; set; }
Property Value
Type Description
System.Windows.DataTemplate
View Source

FooterPaneContent

Gets or sets the content of the footer pane.

Declaration
public object FooterPaneContent { get; set; }
Property Value
Type Description
System.Object
View Source

VisibleItemCount

Gets the visible item count.

Declaration
public int VisibleItemCount { get; }
Property Value
Type Description
System.Int32

Methods

View Source

ClearContainerForItemOverride(DependencyObject, Object)

Declaration
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameters
Type Name Description
System.Windows.DependencyObject element
System.Object item
Overrides
System.Windows.Controls.ItemsControl.ClearContainerForItemOverride(System.Windows.DependencyObject, System.Object)
View Source

GetContainerForItemOverride()

Declaration
protected override DependencyObject GetContainerForItemOverride()
Returns
Type Description
System.Windows.DependencyObject
Overrides
System.Windows.Controls.ItemsControl.GetContainerForItemOverride()
View Source

IsItemItsOwnContainerOverride(Object)

Declaration
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters
Type Name Description
System.Object item
Returns
Type Description
System.Boolean
Overrides
System.Windows.Controls.ItemsControl.IsItemItsOwnContainerOverride(System.Object)
View Source

OnApplyTemplate()

Invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

Declaration
public override void OnApplyTemplate()
Overrides
System.Windows.FrameworkElement.OnApplyTemplate()
View Source

OnItemsChanged(NotifyCollectionChangedEventArgs)

Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
Type Name Description
System.Collections.Specialized.NotifyCollectionChangedEventArgs e
Overrides
System.Windows.Controls.ItemsControl.OnItemsChanged(System.Collections.Specialized.NotifyCollectionChangedEventArgs)
View Source

PrepareContainerForItemOverride(DependencyObject, Object)

Declaration
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameters
Type Name Description
System.Windows.DependencyObject element
System.Object item
Overrides
System.Windows.Controls.ItemsControl.PrepareContainerForItemOverride(System.Windows.DependencyObject, System.Object)

Implements

System.Windows.Media.Animation.IAnimatable
System.ComponentModel.ISupportInitialize
System.Windows.IFrameworkInputElement
System.Windows.IInputElement
System.Windows.Markup.IQueryAmbient
System.Windows.Controls.Primitives.IContainItemStorage
System.Windows.Markup.IAddChild

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
DependencyObjectExtensions.GetContainer(DependencyObject)
DependencyObjectExtensions.SetContainer(DependencyObject, CompositionContainer)
DependencyObjectExtensions.FindAncestor<T>(DependencyObject)
DependencyObjectExtensions.FindFirstChildByType<T>(DependencyObject)
DependencyObjectExtensions.FindLogicalAncestor<T>(DependencyObject)
DependencyObjectExtensions.GetChildsByType<T>(DependencyObject, List<T>)
DependencyObjectExtensions.GetChildrenByType<T>(DependencyObject)
DependencyObjectExtensions.XamlClone<T>(T)
FrameworkElementExtensions.FindChildByName<T>(FrameworkElement, String)
  • View Source
Back to top Generated by DocFX