MainWindow Methods

net_course_01

MainWindow Methods

The MainWindow type exposes the following members.

Methods
  NameDescription
Public methodActivate (Inherited from Window.)
Protected methodAddChild (Inherited from ContentControl.)
Public methodAddHandler(RoutedEvent, Delegate) (Inherited from UIElement.)
Public methodAddHandler(RoutedEvent, Delegate, Boolean) (Inherited from UIElement.)
Protected methodAddLogicalChild (Inherited from FrameworkElement.)
Private methodAddOutputText
Helper method, adding text to output TextBlock
Protected methodAddText (Inherited from ContentControl.)
Public methodAddToEventRoute (Inherited from UIElement.)
Protected methodAddVisualChild (Inherited from Visual.)
Public methodApplyAnimationClock(DependencyProperty, AnimationClock) (Inherited from UIElement.)
Public methodApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) (Inherited from UIElement.)
Public methodApplyTemplate (Inherited from FrameworkElement.)
Public methodArrange (Inherited from UIElement.)
Protected methodArrangeCore (Inherited from FrameworkElement.)
Protected methodArrangeOverride (Inherited from Window.)
Public methodBeginAnimation(DependencyProperty, AnimationTimeline) (Inherited from UIElement.)
Public methodBeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) (Inherited from UIElement.)
Public methodBeginInit (Inherited from FrameworkElement.)
Public methodBeginStoryboard(Storyboard) (Inherited from FrameworkElement.)
Public methodBeginStoryboard(Storyboard, HandoffBehavior) (Inherited from FrameworkElement.)
Public methodBeginStoryboard(Storyboard, HandoffBehavior, Boolean) (Inherited from FrameworkElement.)
Public methodBringIntoView (Inherited from FrameworkElement.)
Public methodBringIntoView(Rect) (Inherited from FrameworkElement.)
Private methodButtonAddPoint_Click
Tries to parse entered coordinates and add result to output TextBlock
Public methodCaptureMouse (Inherited from UIElement.)
Public methodCaptureStylus (Inherited from UIElement.)
Public methodCaptureTouch (Inherited from UIElement.)
Public methodClearValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodClearValue(DependencyPropertyKey) (Inherited from DependencyObject.)
Public methodClose (Inherited from Window.)
Public methodCoerceValue (Inherited from DependencyObject.)
Public methodDragMove (Inherited from Window.)
Public methodEndInit (Inherited from FrameworkElement.)
Public methodEquals (Inherited from DependencyObject.)
Protected methodFinalize (Inherited from Object.)
Public methodFindCommonVisualAncestor (Inherited from Visual.)
Public methodFindName (Inherited from FrameworkElement.)
Public methodFindResource (Inherited from FrameworkElement.)
Public methodFocus (Inherited from UIElement.)
Public methodGetAnimationBaseValue (Inherited from UIElement.)
Public methodGetBindingExpression (Inherited from FrameworkElement.)
Public methodGetHashCode (Inherited from DependencyObject.)
Protected methodGetLayoutClip (Inherited from FrameworkElement.)
Public methodGetLocalValueEnumerator (Inherited from DependencyObject.)
Protected methodGetTemplateChild (Inherited from FrameworkElement.)
Public methodGetType (Inherited from Object.)
Protected methodGetUIParentCore (Inherited from FrameworkElement.)
Public methodGetValue (Inherited from DependencyObject.)
Protected methodGetVisualChild (Inherited from FrameworkElement.)
Public methodHide (Inherited from Window.)
Protected methodHitTestCore(PointHitTestParameters) (Inherited from UIElement.)
Protected methodHitTestCore(GeometryHitTestParameters) (Inherited from UIElement.)
Public methodInitializeComponent
InitializeComponent
Public methodInputHitTest (Inherited from UIElement.)
Public methodInvalidateArrange (Inherited from UIElement.)
Public methodInvalidateMeasure (Inherited from UIElement.)
Public methodInvalidateProperty (Inherited from DependencyObject.)
Public methodInvalidateVisual (Inherited from UIElement.)
Public methodIsAncestorOf (Inherited from Visual.)
Public methodIsDescendantOf (Inherited from Visual.)
Public methodMeasure (Inherited from UIElement.)
Protected methodMeasureCore (Inherited from FrameworkElement.)
Protected methodMeasureOverride (Inherited from Window.)
Protected methodMemberwiseClone (Inherited from Object.)
Private methodMenuItemExit_Click
Exit the application
Private methodMenuItemFileOpen_Click
Opens selected file, and tries to parse it with coordinates. Output information will show in TextBlockOutput
Public methodMoveFocus (Inherited from FrameworkElement.)
Protected methodOnAccessKey (Inherited from UIElement.)
Protected methodOnActivated (Inherited from Window.)
Public methodOnApplyTemplate (Inherited from FrameworkElement.)
Protected methodOnChildDesiredSizeChanged (Inherited from UIElement.)
Protected methodOnClosed (Inherited from Window.)
Protected methodOnClosing (Inherited from Window.)
Protected methodOnContentChanged (Inherited from Window.)
Protected methodOnContentRendered (Inherited from Window.)
Protected methodOnContentStringFormatChanged (Inherited from ContentControl.)
Protected methodOnContentTemplateChanged (Inherited from ContentControl.)
Protected methodOnContentTemplateSelectorChanged (Inherited from ContentControl.)
Protected methodOnContextMenuClosing (Inherited from FrameworkElement.)
Protected methodOnContextMenuOpening (Inherited from FrameworkElement.)
Protected methodOnCreateAutomationPeer (Inherited from Window.)
Protected methodOnDeactivated (Inherited from Window.)
Protected methodOnDragEnter (Inherited from UIElement.)
Protected methodOnDragLeave (Inherited from UIElement.)
Protected methodOnDragOver (Inherited from UIElement.)
Protected methodOnDrop (Inherited from UIElement.)
Protected methodOnGiveFeedback (Inherited from UIElement.)
Protected methodOnGotFocus (Inherited from FrameworkElement.)
Protected methodOnGotKeyboardFocus (Inherited from UIElement.)
Protected methodOnGotMouseCapture (Inherited from UIElement.)
Protected methodOnGotStylusCapture (Inherited from UIElement.)
Protected methodOnGotTouchCapture (Inherited from UIElement.)
Protected methodOnInitialized (Inherited from FrameworkElement.)
Protected methodOnIsKeyboardFocusedChanged (Inherited from UIElement.)
Protected methodOnIsKeyboardFocusWithinChanged (Inherited from UIElement.)
Protected methodOnIsMouseCapturedChanged (Inherited from UIElement.)
Protected methodOnIsMouseCaptureWithinChanged (Inherited from UIElement.)
Protected methodOnIsMouseDirectlyOverChanged (Inherited from UIElement.)
Protected methodOnIsStylusCapturedChanged (Inherited from UIElement.)
Protected methodOnIsStylusCaptureWithinChanged (Inherited from UIElement.)
Protected methodOnIsStylusDirectlyOverChanged (Inherited from UIElement.)
Protected methodOnKeyDown (Inherited from UIElement.)
Protected methodOnKeyUp (Inherited from UIElement.)
Protected methodOnLocationChanged (Inherited from Window.)
Protected methodOnLostFocus (Inherited from UIElement.)
Protected methodOnLostKeyboardFocus (Inherited from UIElement.)
Protected methodOnLostMouseCapture (Inherited from UIElement.)
Protected methodOnLostStylusCapture (Inherited from UIElement.)
Protected methodOnLostTouchCapture (Inherited from UIElement.)
Protected methodOnManipulationBoundaryFeedback (Inherited from Window.)
Protected methodOnManipulationCompleted (Inherited from UIElement.)
Protected methodOnManipulationDelta (Inherited from UIElement.)
Protected methodOnManipulationInertiaStarting (Inherited from UIElement.)
Protected methodOnManipulationStarted (Inherited from UIElement.)
Protected methodOnManipulationStarting (Inherited from UIElement.)
Protected methodOnMouseDoubleClick (Inherited from Control.)
Protected methodOnMouseDown (Inherited from UIElement.)
Protected methodOnMouseEnter (Inherited from UIElement.)
Protected methodOnMouseLeave (Inherited from UIElement.)
Protected methodOnMouseLeftButtonDown (Inherited from UIElement.)
Protected methodOnMouseLeftButtonUp (Inherited from UIElement.)
Protected methodOnMouseMove (Inherited from UIElement.)
Protected methodOnMouseRightButtonDown (Inherited from UIElement.)
Protected methodOnMouseRightButtonUp (Inherited from UIElement.)
Protected methodOnMouseUp (Inherited from UIElement.)
Protected methodOnMouseWheel (Inherited from UIElement.)
Protected methodOnPreviewDragEnter (Inherited from UIElement.)
Protected methodOnPreviewDragLeave (Inherited from UIElement.)
Protected methodOnPreviewDragOver (Inherited from UIElement.)
Protected methodOnPreviewDrop (Inherited from UIElement.)
Protected methodOnPreviewGiveFeedback (Inherited from UIElement.)
Protected methodOnPreviewGotKeyboardFocus (Inherited from UIElement.)
Protected methodOnPreviewKeyDown (Inherited from UIElement.)
Protected methodOnPreviewKeyUp (Inherited from UIElement.)
Protected methodOnPreviewLostKeyboardFocus (Inherited from UIElement.)
Protected methodOnPreviewMouseDoubleClick (Inherited from Control.)
Protected methodOnPreviewMouseDown (Inherited from UIElement.)
Protected methodOnPreviewMouseLeftButtonDown (Inherited from UIElement.)
Protected methodOnPreviewMouseLeftButtonUp (Inherited from UIElement.)
Protected methodOnPreviewMouseMove (Inherited from UIElement.)
Protected methodOnPreviewMouseRightButtonDown (Inherited from UIElement.)
Protected methodOnPreviewMouseRightButtonUp (Inherited from UIElement.)
Protected methodOnPreviewMouseUp (Inherited from UIElement.)
Protected methodOnPreviewMouseWheel (Inherited from UIElement.)
Protected methodOnPreviewQueryContinueDrag (Inherited from UIElement.)
Protected methodOnPreviewStylusButtonDown (Inherited from UIElement.)
Protected methodOnPreviewStylusButtonUp (Inherited from UIElement.)
Protected methodOnPreviewStylusDown (Inherited from UIElement.)
Protected methodOnPreviewStylusInAirMove (Inherited from UIElement.)
Protected methodOnPreviewStylusInRange (Inherited from UIElement.)
Protected methodOnPreviewStylusMove (Inherited from UIElement.)
Protected methodOnPreviewStylusOutOfRange (Inherited from UIElement.)
Protected methodOnPreviewStylusSystemGesture (Inherited from UIElement.)
Protected methodOnPreviewStylusUp (Inherited from UIElement.)
Protected methodOnPreviewTextInput (Inherited from UIElement.)
Protected methodOnPreviewTouchDown (Inherited from UIElement.)
Protected methodOnPreviewTouchMove (Inherited from UIElement.)
Protected methodOnPreviewTouchUp (Inherited from UIElement.)
Protected methodOnPropertyChanged (Inherited from FrameworkElement.)
Protected methodOnQueryContinueDrag (Inherited from UIElement.)
Protected methodOnQueryCursor (Inherited from UIElement.)
Protected methodOnRender (Inherited from UIElement.)
Protected methodOnRenderSizeChanged (Inherited from FrameworkElement.)
Protected methodOnSourceInitialized (Inherited from Window.)
Protected methodOnStateChanged (Inherited from Window.)
Protected methodOnStyleChanged (Inherited from FrameworkElement.)
Protected methodOnStylusButtonDown (Inherited from UIElement.)
Protected methodOnStylusButtonUp (Inherited from UIElement.)
Protected methodOnStylusDown (Inherited from UIElement.)
Protected methodOnStylusEnter (Inherited from UIElement.)
Protected methodOnStylusInAirMove (Inherited from UIElement.)
Protected methodOnStylusInRange (Inherited from UIElement.)
Protected methodOnStylusLeave (Inherited from UIElement.)
Protected methodOnStylusMove (Inherited from UIElement.)
Protected methodOnStylusOutOfRange (Inherited from UIElement.)
Protected methodOnStylusSystemGesture (Inherited from UIElement.)
Protected methodOnStylusUp (Inherited from UIElement.)
Protected methodOnTemplateChanged (Inherited from Control.)
Protected methodOnTextInput (Inherited from UIElement.)
Protected methodOnToolTipClosing (Inherited from FrameworkElement.)
Protected methodOnToolTipOpening (Inherited from FrameworkElement.)
Protected methodOnTouchDown (Inherited from UIElement.)
Protected methodOnTouchEnter (Inherited from UIElement.)
Protected methodOnTouchLeave (Inherited from UIElement.)
Protected methodOnTouchMove (Inherited from UIElement.)
Protected methodOnTouchUp (Inherited from UIElement.)
Protected methodOnVisualChildrenChanged (Inherited from Visual.)
Protected methodOnVisualParentChanged (Inherited from Window.)
Protected methodParentLayoutInvalidated (Inherited from FrameworkElement.)
Public methodPointFromScreen (Inherited from Visual.)
Public methodPointToScreen (Inherited from Visual.)
Public methodPredictFocus (Inherited from FrameworkElement.)
Public methodRaiseEvent (Inherited from UIElement.)
Public methodReadLocalValue (Inherited from DependencyObject.)
Public methodRegisterName (Inherited from FrameworkElement.)
Public methodReleaseAllTouchCaptures (Inherited from UIElement.)
Public methodReleaseMouseCapture (Inherited from UIElement.)
Public methodReleaseStylusCapture (Inherited from UIElement.)
Public methodReleaseTouchCapture (Inherited from UIElement.)
Public methodRemoveHandler (Inherited from UIElement.)
Protected methodRemoveLogicalChild (Inherited from FrameworkElement.)
Protected methodRemoveVisualChild (Inherited from Visual.)
Public methodSetBinding(DependencyProperty, BindingBase) (Inherited from FrameworkElement.)
Public methodSetBinding(DependencyProperty, String) (Inherited from FrameworkElement.)
Public methodSetCurrentValue (Inherited from DependencyObject.)
Public methodSetResourceReference (Inherited from FrameworkElement.)
Public methodSetValue(DependencyProperty, Object) (Inherited from DependencyObject.)
Public methodSetValue(DependencyPropertyKey, Object) (Inherited from DependencyObject.)
Protected methodShouldSerializeProperty (Inherited from DependencyObject.)
Public methodShow (Inherited from Window.)
Public methodShowDialog (Inherited from Window.)
Public methodToString (Inherited from Control.)
Public methodTransformToAncestor(Visual) (Inherited from Visual.)
Public methodTransformToAncestor(Visual3D) (Inherited from Visual.)
Public methodTransformToDescendant (Inherited from Visual.)
Public methodTransformToVisual (Inherited from Visual.)
Public methodTranslatePoint (Inherited from UIElement.)
Public methodTryFindResource (Inherited from FrameworkElement.)
Public methodUnregisterName (Inherited from FrameworkElement.)
Public methodUpdateDefaultStyle (Inherited from FrameworkElement.)
Public methodUpdateLayout (Inherited from UIElement.)
Top
See Also