Show / Hide Table of Contents

Class MainWindow

Represents a wpf main window with System.Windows.WindowStyle.None and full chrome functionality.

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.ContentControl
System.Windows.Window
WindowBase
Window
MainWindow
Implements
System.Windows.Media.Animation.IAnimatable
System.ComponentModel.ISupportInitialize
System.Windows.IFrameworkInputElement
System.Windows.IInputElement
System.Windows.Markup.IQueryAmbient
System.Windows.Markup.IAddChild
Window.DisableAeroSnapEffectProperty
Window.OnStateChanged(EventArgs)
WindowBase.OnSourceInitialized(EventArgs)
WindowBase.FixSettingBehavior()
System.Windows.Window.AllowsTransparencyProperty
System.Windows.Window.DpiChangedEvent
System.Windows.Window.IconProperty
System.Windows.Window.IsActiveProperty
System.Windows.Window.LeftProperty
System.Windows.Window.ResizeModeProperty
System.Windows.Window.ShowActivatedProperty
System.Windows.Window.ShowInTaskbarProperty
System.Windows.Window.SizeToContentProperty
System.Windows.Window.TaskbarItemInfoProperty
System.Windows.Window.TitleProperty
System.Windows.Window.TopmostProperty
System.Windows.Window.TopProperty
System.Windows.Window.WindowStateProperty
System.Windows.Window.WindowStyleProperty
System.Windows.Window.Activate()
System.Windows.Window.ArrangeOverride(System.Windows.Size)
System.Windows.Window.Close()
System.Windows.Window.DragMove()
System.Windows.Window.GetWindow(System.Windows.DependencyObject)
System.Windows.Window.Hide()
System.Windows.Window.MeasureOverride(System.Windows.Size)
System.Windows.Window.OnActivated(System.EventArgs)
System.Windows.Window.OnClosed(System.EventArgs)
System.Windows.Window.OnClosing(System.ComponentModel.CancelEventArgs)
System.Windows.Window.OnContentChanged(System.Object, System.Object)
System.Windows.Window.OnContentRendered(System.EventArgs)
System.Windows.Window.OnCreateAutomationPeer()
System.Windows.Window.OnDeactivated(System.EventArgs)
System.Windows.Window.OnDpiChanged(System.Windows.DpiScale, System.Windows.DpiScale)
System.Windows.Window.OnLocationChanged(System.EventArgs)
System.Windows.Window.OnManipulationBoundaryFeedback(System.Windows.Input.ManipulationBoundaryFeedbackEventArgs)
System.Windows.Window.OnVisualChildrenChanged(System.Windows.DependencyObject, System.Windows.DependencyObject)
System.Windows.Window.OnVisualParentChanged(System.Windows.DependencyObject)
System.Windows.Window.Show()
System.Windows.Window.ShowDialog()
System.Windows.Window.AllowsTransparency
System.Windows.Window.DialogResult
System.Windows.Window.Icon
System.Windows.Window.IsActive
System.Windows.Window.Left
System.Windows.Window.LogicalChildren
System.Windows.Window.OwnedWindows
System.Windows.Window.Owner
System.Windows.Window.ResizeMode
System.Windows.Window.RestoreBounds
System.Windows.Window.ShowActivated
System.Windows.Window.ShowInTaskbar
System.Windows.Window.SizeToContent
System.Windows.Window.TaskbarItemInfo
System.Windows.Window.Title
System.Windows.Window.Top
System.Windows.Window.Topmost
System.Windows.Window.WindowStartupLocation
System.Windows.Window.WindowState
System.Windows.Window.WindowStyle
System.Windows.Window.Activated
System.Windows.Window.Closed
System.Windows.Window.Closing
System.Windows.Window.ContentRendered
System.Windows.Window.Deactivated
System.Windows.Window.DpiChanged
System.Windows.Window.LocationChanged
System.Windows.Window.SourceInitialized
System.Windows.Window.StateChanged
System.Windows.Controls.ContentControl.ContentProperty
System.Windows.Controls.ContentControl.ContentStringFormatProperty
System.Windows.Controls.ContentControl.ContentTemplateProperty
System.Windows.Controls.ContentControl.ContentTemplateSelectorProperty
System.Windows.Controls.ContentControl.HasContentProperty
System.Windows.Controls.ContentControl.AddChild(System.Object)
System.Windows.Controls.ContentControl.AddText(System.String)
System.Windows.Controls.ContentControl.OnContentStringFormatChanged(System.String, System.String)
System.Windows.Controls.ContentControl.OnContentTemplateChanged(System.Windows.DataTemplate, System.Windows.DataTemplate)
System.Windows.Controls.ContentControl.OnContentTemplateSelectorChanged(System.Windows.Controls.DataTemplateSelector, System.Windows.Controls.DataTemplateSelector)
System.Windows.Controls.ContentControl.System.Windows.Markup.IAddChild.AddChild(System.Object)
System.Windows.Controls.ContentControl.System.Windows.Markup.IAddChild.AddText(System.String)
System.Windows.Controls.ContentControl.Content
System.Windows.Controls.ContentControl.ContentStringFormat
System.Windows.Controls.ContentControl.ContentTemplate
System.Windows.Controls.ContentControl.ContentTemplateSelector
System.Windows.Controls.ContentControl.HasContent
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.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.ToString()
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.BeginInit()
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.EndInit()
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.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.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.OnKeyDown(System.Windows.Input.KeyEventArgs)
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.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.OnTextInput(System.Windows.Input.TextCompositionEventArgs)
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.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_MenuToggleButton", Type = typeof(ToggleButton))]
public class MainWindow : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Examples

This example illustrates how to use the MainWindow.

<SAF:MainWindow x:Class="Sartorius.SAF.Documentation.Examples.Controls.MainWindow.MainWindowExample"
            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 Application">
<!-- #region ApplicationLogo -->
<SAF:MainWindow.ApplicationLogo>
    <TextBlock FontFamily="{DynamicResource SAF_Font_Base_Arial}"
               VerticalAlignment="Center"
               Foreground="White"
               Text="Example Application" />
</SAF:MainWindow.ApplicationLogo>

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

[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

MainWindow()

Creates a new instance of the MainWindow class.

Declaration
public MainWindow()

Fields

View Source

ApplicationLogoProperty

The System.Windows.DependencyProperty for the ApplicationLogo property.

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

ApplicationMenuProperty

The System.Windows.DependencyProperty for the ApplicationMenu property.

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

CompanyLogoProperty

The System.Windows.DependencyProperty for the CompanyLogo property.

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

IsMenuOpenProperty

The System.Windows.DependencyProperty for the IsMenuOpen property.

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

QuickAccessToolBarProperty

The System.Windows.DependencyProperty for the QuickAccessToolBar property.

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

Properties

View Source

ApplicationLogo

Gets or sets the application logo.

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

ApplicationMenu

Gets or sets the application menu.

Declaration
public ApplicationMenu ApplicationMenu { get; set; }
Property Value
Type Description
ApplicationMenu
View Source

CompanyLogo

Gets or sets the company logo.

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

IsMenuOpen

Gets or sets a value indicating whether the menu is open.

Declaration
public bool IsMenuOpen { get; set; }
Property Value
Type Description
System.Boolean
View Source

QuickAccessToolBar

Gets or sets the quick access toolbar.

Declaration
public List<object> QuickAccessToolBar { get; set; }
Property Value
Type Description
System.Collections.Generic.List<System.Object>

Methods

View Source

CloseMenu()

Closes the application menu.

Declaration
public void CloseMenu()
View Source

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate().

Declaration
public override void OnApplyTemplate()
Overrides
Window.OnApplyTemplate()
View Source

OpenMenu()

Opens the application menu.

Declaration
public void OpenMenu()

Implements

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

Extension Methods

WindowExtensions.ShowDialogOverlayAware(Window)
WindowExtensions.Conceal(Window)
WindowExtensions.Reveal(Window)
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)

See Also

ApplicationMenu
ApplicationLogoExportAttribute
QuickAccessToolbarItemExportAttribute
MainWindowExportAttribute
  • View Source
Back to top Generated by DocFX