System.windows.shell winforms
For more information about security demands, see Link Demands and Inheritance Demands. Initializes a new instance of the JumpList class.
Initializes a new instance of the JumpList class with the specified parameters. Gets the collection of JumpItem objects that are displayed in the Jump List. Gets or sets a value that indicates whether frequently used items are displayed in the Jump List. Sends the JumpList to the Windows shell in its current state. Signals the start of the JumpList initialization. Signals the end of the JumpList initialization. Returns the JumpList object associated with an application.
Gets the Type of the current instance. Creates a shallow copy of the current Object. Sets the JumpList object associated with an application.
Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode.
Jump List Class Reference Is this page helpful? Please rate your experience Yes No. Any additional feedback? Namespace: System. Shell Assembly: PresentationFramework. Output window. Hash tables. Runspace Pools. Progress bar. Drawing Enable Visual Styles [Windows. Application]::EnableVisualStyles Now that we have done that, we can proceed to create our first form! Refresh Disable windows maximize feature. We now have our RichTextBox to display output from our script.
Lastly, we need a button to execute our main code. Function We are going to create a function called RunAppCode , which we call at our button click. Hash Tables A hash table is essentially an array of variables which can be used across your main thread and Runspaces. Example: Normal variable, main thread. Runspace Pools This is where the fun starts. A RunspacePool is a shinier version of a traditional runspace, in that it brings: Auto-scale.
Improved performance. Simpler garbage collection. This is where we plug our script code. Most likely a Foreach method. Comment these out when debugging. Gets or sets the BitmapEffectInput value for the Visual. Gets or sets the BitmapScalingMode for the Visual. Gets or sets a cached representation of the Visual. Gets or sets the clip region of the Visual as a Geometry value. Gets or sets the edge mode of the Visual as an EdgeMode value.
Gets or sets the bitmap effect to apply to the Visual. Gets or sets the opacity of the Visual. Gets or sets the Brush value that represents the opacity mask of the Visual. Gets or sets a clipped scrollable area for the Visual.
Gets or sets the TextHintingMode of the Visual. Gets or sets the TextRenderingMode of the Visual. Gets or sets the Transform value for the Visual.
Adds a specified object as the child of a ContentControl. Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
Adds a specified text string to a ContentControl. Applies an animation to a specified dependency property on this element.
Any existing animations are stopped and replaced with the new animation. Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation. Builds the current template's visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call. Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore Rect implementation or a WPF framework-level equivalent to form a recursive layout update.
This method constitutes the second pass of a layout update. Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation.
Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated. Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started.
Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within. Determines whether the calling thread has access to this DispatcherObject. Clears the local value of a property.
The property to be cleared is specified by a DependencyProperty identifier. Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. Manually closes a Window. Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.
Allows a window to be dragged by a mouse with its left button down over an exposed area of the window's client area. Determines whether a provided DependencyObject is equivalent to the current DependencyObject. Searches for a resource with the specified key, and throws an exception if the requested resource is not found. Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation.
Returns the BindingExpression that represents the binding on the specified property. Gets a hash code for this DependencyObject. Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.
Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. Returns the named element in the visual tree of an instantiated ControlTemplate. Gets the Type of the current instance. Returns the current effective value of a dependency property on this instance of a DependencyObject. Overrides GetVisualChild Int32 , and returns a child at the specified index from a collection of child elements.
Returns a reference to the Window object that hosts the content tree within which the dependency object is located. Returns the input element within the current element that is at the specified coordinates, relative to the current element's origin. Invalidates the arrange state layout for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout.
Invalidates the rendering of the element, and forces a complete new layout pass. OnRender DrawingContext is called after the layout cycle is completed.
Parent elements call this method from their own MeasureCore Size implementations to form a recursive layout update. Calling this method constitutes the first pass the "Measure" pass of a layout update. Implements basic measure-pass layout system behavior for FrameworkElement. Creates a shallow copy of the current Object. Moves the keyboard focus away from this element and to another element in a provided traversal direction.
Raises the Activated event. When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate. Raises the Closed event. Raises the Closing event. Called when the Content property changes. Raises the ContentRendered event. Occurs when the ContentStringFormat property changes. Called when the ContentTemplate property changes. Called when the ContentTemplateSelector property changes.
Invoked whenever an unhandled ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event. Invoked whenever an unhandled ContextMenuOpening routed event reaches this class in its route.
Creates and returns a WindowAutomationPeer object for this Window. Raises the Deactivated event. Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Invoked when an unhandled DragLeave attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled DragOver attached event reaches an element in its route that is derived from this class. Invoked when an unhandled GiveFeedback attached event reaches an element in its route that is derived from this class.
Invoked whenever an unhandled GotFocus event reaches this element in its route. Invoked when an unhandled GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Invoked when an unhandled GotMouseCapture attached event reaches an element in its route that is derived from this class. Invoked when an unhandled GotStylusCapture attached event reaches an element in its route that is derived from this class. Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element.
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally. Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Invoked when an unhandled IsMouseCapturedChanged event is raised on this element.
Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. Invoked when an unhandled KeyDown attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled KeyUp attached event reaches an element in its route that is derived from this class. Raises the LocationChanged event. Raises the LostFocus routed event by using the event data that is provided.
Invoked when an unhandled LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Invoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class. Invoked when an unhandled LostStylusCapture attached event reaches an element in its route that is derived from this class. Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture.
Called when the ManipulationBoundaryFeedback event occurs. Called when the ManipulationCompleted event occurs. Called when the ManipulationDelta event occurs. Called when the ManipulationInertiaStarting event occurs. Called when the ManipulationStarted event occurs. Provides class handling for the ManipulationStarting routed event that occurs when the manipulation processor is first created. Raises the MouseDoubleClick routed event. Invoked when an unhandled MouseDown attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled MouseEnter attached event is raised on this element. Invoked when an unhandled MouseLeave attached event is raised on this element. Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element.
Invoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. Invoked when an unhandled MouseRightButtonDown routed event reaches an element in its route that is derived from this class.
Invoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Invoked when an unhandled MouseUp routed event reaches an element in its route that is derived from this class.
Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewDragEnter attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled PreviewDragLeave attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewDragOver attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewDrop attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewGiveFeedback attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewKeyUp attached event reaches an element in its route that is derived from this class. Raises the PreviewMouseDoubleClick routed event. Invoked when an unhandled PreviewMouseDown attached routed event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class.
Invoked when an unhandled PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewMouseMove attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewMouseRightButtonDown routed event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class.
Invoked when an unhandled PreviewMouseUp attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewQueryContinueDrag attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewStylusButtonDown attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled PreviewStylusButtonUp attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewStylusDown attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewStylusInAirMove attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled PreviewStylusInRange attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewStylusMove attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled PreviewStylusUp attached event reaches an element in its route that is derived from this class. Invoked when an unhandled PreviewTextInput attached event reaches an element in its route that is derived from this class. Provides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element.
Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element.
Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element. Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Invoked when an unhandled QueryContinueDrag attached event reaches an element in its route that is derived from this class.
Invoked when an unhandled QueryCursor attached event reaches an element in its route that is derived from this class. When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing.
Gets a value indicating whether the control has been disposed of. Gets a value indicating whether the control has a handle associated with it.
Gets a value indicating whether the form is a multiple-document interface MDI child form. Gets a value indicating whether the control is mirrored. Gets a cached instance of the control's layout engine. Gets or sets the space between controls. Gets or sets the current multiple-document interface MDI parent form of this form. Gets or sets the name of the control. Gets or sets padding within the control.
Gets or sets the parent container of the control. Gets the form that the container control is assigned to. Gets the size of a rectangular area into which the control can fit. Gets the product name of the assembly containing the control. Gets the version of the assembly containing the control.
Gets a value indicating whether the control is currently re-creating its handle. Gets or sets the window region associated with the control. This property is now obsolete. Gets or sets a value indicating whether the control redraws itself when resized. Gets or sets a value indicating whether right-to-left mirror placement is turned on.
Gets a value that determines the scaling of child controls. Gets a value indicating whether the control should display focus rectangles. Gets or sets a value indicating whether an icon is displayed in the caption bar of the form.
Gets or sets a value indicating whether the form is displayed in the Windows taskbar. Gets a value indicating whether the window will be activated when it is shown. Gets or sets the site of the control. Gets or sets the style of the size grip to display in the lower-right corner of the form.
Gets or sets the object that contains data about the control. Gets or sets the text associated with this control. Gets or sets a value indicating whether to display the form as a top-level window.
Gets or sets a value indicating whether the form should be displayed as a topmost form. Gets or sets the color that will represent transparent areas of the form.
Gets the characteristics associated with the vertical scroll bar. Gets or sets a value indicating whether the control and all its child controls are displayed.
Gets or sets a value indicating whether the vertical scroll bar is visible. Gets or sets the width of the control. Gets or sets a value that indicates whether form is minimized, maximized, or normal. ActivateMdiChild Form. AddOwnedForm Form. AdjustFormScrollbars Boolean. BeginInvoke Action. BeginInvoke Delegate.
BeginInvoke Delegate, Object[]. Brings the control to the front of the z-order. Centers the position of the form within the bounds of the parent form.
Contains Control. Retrieves a value indicating whether the specified control is a child of the control. Creates a new accessibility object for the control. CreateObjRef Type. Inherited from MarshalByRefObject. DefWndProc Message. Destroys the handle associated with the control. Dispose Boolean. Begins a drag-and-drop operation. DrawToBitmap Bitmap, Rectangle. Supports rendering to the specified bitmap. EndInvoke IAsyncResult.
Equals Object. Determines whether the specified object is equal to the current object. Inherited from Object. Retrieves the form that the control is on. Sets input focus to the control. GetAutoScaleSize Font. Gets the size when autoscaling the form based on a specified font. GetChildAtPoint Point. Retrieves the child control that is located at the specified coordinates.
Serves as the default hash function. GetNextControl Control, Boolean. Retrieves the next control forward or back in the tab order of child controls. GetPreferredSize Size. Retrieves the size of a rectangular area into which a control can be fitted. Retrieves the bounds within which the control is scaled. GetScrollState Int Determines whether the specified flag has been set.
GetService Type. GetStyle ControlStyles. Retrieves the value of the specified control style bit for the control. Determines if the control is a top-level control. Conceals the control from the user. Obtains a lifetime service object to control the lifetime policy for this instance. Called after the control has been added to another container. Invalidates the entire surface of the control and causes the control to be redrawn.
Invalidate Boolean. Invalidate Rectangle. Invalidate Rectangle, Boolean. Invalidate Region. Invalidate Region, Boolean. Invoke Action. Executes the specified delegate on the thread that owns the control's underlying window handle. Invoke Delegate. Invoke Delegate, Object[].
IsInputChar Char. Determines if a character is an input character that the control recognizes. IsInputKey Keys. LayoutMdi MdiLayout. LogicalToDeviceUnits Int LogicalToDeviceUnits Size.
MemberwiseClone Boolean. NotifyInvalidate Rectangle. OnActivated EventArgs. OnClick EventArgs. OnClosed EventArgs. OnClosing CancelEventArgs. Raises the CreateControl event. OnCursorChanged EventArgs. OnDeactivate EventArgs. OnDockChanged EventArgs. OnDoubleClick EventArgs. OnDragLeave EventArgs. OnEnabledChanged EventArgs. OnEnter EventArgs. OnFontChanged EventArgs. OnGotFocus EventArgs. OnHandleCreated EventArgs. OnHandleDestroyed EventArgs. OnInvalidated InvalidateEventArgs.
OnLayout LayoutEventArgs. OnLeave EventArgs. OnLoad EventArgs. OnLocationChanged EventArgs. OnLostFocus EventArgs. OnMarginChanged EventArgs. OnMenuComplete EventArgs. OnMenuStart EventArgs. OnMouseEnter EventArgs. OnMouseHover EventArgs. OnMouseLeave EventArgs. OnMove EventArgs. OnNotifyMessage Message. Notifies the control of Windows messages. OnPaddingChanged EventArgs. OnPaint PaintEventArgs. Paints the background of the control.
OnParentChanged EventArgs. OnPrint PaintEventArgs. OnRegionChanged EventArgs. OnResize EventArgs. OnResizeBegin EventArgs. OnResizeEnd EventArgs. OnScroll ScrollEventArgs.
OnShown EventArgs. OnSizeChanged EventArgs. OnStyleChanged EventArgs. OnTextChanged EventArgs. OnValidated EventArgs. OnValidating CancelEventArgs. OnVisibleChanged EventArgs. Performs scaling of the container control and its children. Forces the control to apply layout logic to all its child controls. PerformLayout Control, String. PointToClient Point. Computes the location of the specified screen point into client coordinates.
0コメント