System.windows.controls.control




















File: SpellCheckingService. SpellChecker; spellChecker. AddDictionary dictionary, culture ; spellChecker. RemoveCustomDictionary culture ; spellChecker. RemoveCustomDictionary CultureInfo. InvariantCulture ; spellChecker. InvariantCulture ; richTextBox. GetControlSpellChecker control. InvariantCulture ; controlSpellChecker. Example 9. File: WatermarkBehaviour. GetProperty stringProperty ; if propertyInfo!

CreateInstance propertyType : null; if propertyInfo. Example File: ControlNameFactory. File: UserSettings. Name, textbox. SelectedIndex; if elemIndex! Name, elemIndex. HasValue return; Set checkbox. Name, checkbox. Name, tabcontrol. Write ex. Name ; if! IsNullOrEmpty value textbox.

TryParse value, out elemIndex ; if combobox. TryParse Get checkbox. Name , out value checkbox. TryParse Get tabcontrol. Name , out value tabcontrol. LightGray; else i. Transparent; i. File: PNMenus. AddRange MenuItem item. ToArray ; foreach var tm in enumerable. GetProperty "Password" ; if passwordPropertyInfo! GetValue control, null. ContentStart, richTextBoxvalue. ContentEnd ; if string.

GetProperty "Text" ; return textPropertyInfo! Parent; lbi. Converts an integer to and from an object by applying the integer as an index to a list of objects.

Represents the converter that converts Boolean values to and from Visibility enumeration values. Represents a converter that converts the dimensions of a GroupBox control into a VisualBrush. Represents a Windows button control, which reacts to the Click event. Represents a collection of non-selectable dates in a Calendar. Provides data for the DisplayDateChanged event. Represents a range of dates in a Calendar. Provides data for the DisplayModeChanged event.

Defines an area within which you can explicitly position child elements by using coordinates that are relative to the Canvas area. Provides data for the CleanUpVirtualizedItem event. Defines column-specific properties that apply to Grid elements.

Provides access to an ordered, strongly typed collection of ColumnDefinition objects. Represents a selection control with a drop-down list that can be shown or hidden by clicking the arrow on the control. Implements a selectable item inside a ComboBox. Displays the content of a ContentControl. Represents a pop-up menu that enables a control to expose functionality that is specific to the context of the control. Provides the system implementation for displaying a ContextMenu.

Represents the base class for user interface UI elements that use a ControlTemplate to define their appearance. Specifies the visual structure and behavioral aspects of a Control that can be shared across multiple instances of the control.

Represents a rule that checks for errors that are raised by the IDataErrorInfo implementation of the source object. Provides data for the AutoGeneratingColumn event. Provides data for the BeginningEdit event. Serves as the base class for columns that can bind to a property in the data source of a DataGrid. Represents a cell of a DataGrid control. Provides data for the CellEditEnding event. Represents a DataGrid column that hosts CheckBox controls in its cells. Represents a DataGrid column.

Provides data for the ColumnReordering event. Represents a DataGrid column that hosts ComboBox controls in its cells. Represents a DataGrid column that hosts Uri elements in its cells. Converts instances of various types to and from instances of the DataGridLength class. Provides data for the PreparingCellForEdit event. Represents a DataGrid row. Provides data for the CopyingRowClipboardContent event. Provides data for the RowEditEnding event.

Provides data for the LoadingRow and UnloadingRow events. Provides data for the Sorting event. Represents a DataGrid column that hosts template-specified content in its cells. Represents a DataGrid column that hosts textual content in its cells. Provides a way to choose a DataTemplate based on the data object and the data-bound element. Provides data for the DateValidationError event.

Provides a base class for elements that apply effects onto or around a single child element, such as Border or Viewbox. Defines the functionality required to support a shared-size group that is used by the ColumnDefinitionCollection and RowDefinitionCollection classes. This is an abstract class. Defines an area where you can arrange child elements either horizontally or vertically, relative to each other.

Represents a document viewing control that can host paginated FixedDocument content such as an XpsDocument. Represents a rule that checks for exceptions that are thrown during the update of the binding source property.

Represents the control that displays a header that has a collapsible window that displays content. Represents a control for viewing flow content in a fixed viewing mode that shows content one page at a time.

Represents the control that redistributes space between columns or rows of a Grid control. Represents a view mode that displays data items in columns for a ListView control. Represents a collection of GridViewColumn objects. Represents a column header for a GridViewColumn. Represents a control that creates a container that has a border and a header for user interface UI content. Provides data for the InitializingNewItem event.

Provides data for the Gesture event. Provides data for the SelectionChanging. Provides data for the SelectionMoving and SelectionResizing events. Provides data for the StrokeCollected event.

Provides data for the StrokeErasing event. Provides data for the StrokesReplaced event. Holds the list of items that constitute the content of an ItemsControl. Generates the user interface UI on behalf of its host, such as an ItemsControl.

Provides the template for producing a container for an ItemsControl object. Provides a resource key for an ItemContainerTemplate object. Specifies the panel that the ItemsPresenter creates for the layout of the items of an ItemsControl. Used within the template of an item control to specify the place in the control's visual tree where the ItemsPanel defined by the ItemsControl is to be added. Provides data for the KeyTipAccessed event. Represents a service that provides properties, methods, and events to enable and manage KeyTips in WPF Ribbon controls.

Represents a selectable item in a ListBox. Represents an item in a ListView control. Gets a value that indicates whether this instance is currently sealed read-only. Gets or sets a value that indicates whether a control is included in tab navigation. Gets an enumerator for logical child elements of this element.

Gets or sets the outer margin of an element. Gets or sets the maximum height constraint of the element. Gets or sets the maximum width constraint of the element. Gets or sets the minimum height constraint of the element. Gets or sets the minimum width constraint of the element.

Gets the logical parent element of this element. Gets a value that uniquely identifies this element. Gets or sets the final render size of this element. Gets or sets the locally-defined resource dictionary. Gets or sets the style used by this element when it is rendered.

Gets a collection of all stylus plug-in customization objects associated with this element. Gets or sets the tool-tip object that is displayed for this element in the user interface UI. Gets all touch devices that are captured to this element. Gets all touch devices that are over this element. Gets all touch devices that are over this element or any child elements in its visual tree. Gets the collection of triggers established directly on this element, or in child elements.

Gets or sets the user interface UI visibility of this element. Inherited from Visual. Gets the number of visual child elements within this element. Gets or sets the offset value of the visual object. Gets the visual tree parent of the visual object. Gets or sets the x-coordinate vertical guideline collection.

Gets or sets the y-coordinate horizontal guideline collection. Gets or sets the width of the element. AddHandler RoutedEvent, Delegate. AddLogicalChild Object. Adds the provided object to the logical tree of this element. AddVisualChild Visual. Defines the parent-child relationship between two visuals. Arrange Rect. ArrangeCore Rect. ArrangeOverride Size. Starts an animation for a specified animated property on this element. Starts the initialization process for this element. BeginStoryboard Storyboard.

Begins the sequence of actions that are contained in the provided storyboard. BeginStoryboard Storyboard, HandoffBehavior. Attempts to bring this element into view, within any scrollable regions it is contained within. BringIntoView Rect. Attempts to force capture of the mouse to this element. Attempts to force capture of the stylus to this element. CaptureTouch TouchDevice. Attempts to force capture of a touch to this element.

ClearValue DependencyProperty. ClearValue DependencyPropertyKey. CoerceValue DependencyProperty. Indicates that the initialization process for the element is complete. Equals Object. Returns the common ancestor of two visual objects. FindName String. Finds an element that has the provided identifier name.

FindResource Object. Attempts to set focus to this element. GetBindingExpression DependencyProperty. GetLayoutClip Size. GetTemplateChild String. Inherited from Object. Returns an alternative logical parent for this element if there is no visual parent.

GetValue DependencyProperty. GetVisualChild Int InputHitTest Point. Invalidates the measurement state layout for the element.

InvalidateProperty DependencyProperty. Re-evaluates the effective value for the specified dependency property. IsAncestorOf DependencyObject. Determines whether the visual object is an ancestor of the descendant visual object. IsDescendantOf DependencyObject. Determines whether the visual object is a descendant of the ancestor visual object.

Measure Size. MeasureCore Size. MeasureOverride Size. MoveFocus TraversalRequest. Provides class handling for when an access key that is meaningful for this element is invoked. Supports layout behavior when a child element is resized. Called when the DPI at which this View is rendered changes. OnDrop DragEventArgs. OnInitialized EventArgs. OnRender DrawingContext. OnStyleChanged Style, Style. Invoked when the style in use on this element changes, which will invalidate the layout.

PointFromScreen Point. PointToScreen Point. PredictFocus FocusNavigationDirection. RaiseEvent RoutedEventArgs. ReadLocalValue DependencyProperty. Returns the local value of a dependency property, if it exists. RegisterName String, Object. Releases all captured touch devices from this element. Releases the mouse capture, if this element held the capture. Releases the stylus device capture, if this element held the capture.

ReleaseTouchCapture TouchDevice. Attempts to release the specified touch device from this element. RemoveHandler RoutedEvent, Delegate. Removes the specified routed event handler from this element.

RemoveLogicalChild Object. RemoveVisualChild Visual. Removes the parent-child relationship between two visuals. Attaches a binding to this element, based on the provided binding object. SetBinding DependencyProperty, String. Sets the value of a dependency property without changing its value source.

SetValue DependencyProperty, Object. Sets the local value of a dependency property, specified by its dependency property identifier. ShouldSerializeProperty DependencyProperty. TransformToAncestor Visual. TransformToAncestor Visual3D. TransformToDescendant Visual. TransformToVisual Visual. TryFindResource Object. Searches for a resource with the specified key, and returns that resource if found.

UnregisterName String. Ensures that all visual child elements of this element are properly updated for layout. Occurs just before any context menu on the element is closed. Occurs when any context menu on the element is opened.

Occurs when the data context for this element changes. Occurs when this element gets logical focus. Occurs when the keyboard is focused on this element. Occurs when this element captures the mouse. Occurs when this element captures the stylus. Occurs when a touch is captured to this element.

Occurs when a key is pressed while focus is on this element. Occurs when a key is released while focus is on this element. Occurs when the element is laid out, rendered, and ready for interaction. Occurs when this element loses logical focus.

Occurs when the keyboard is no longer focused on this element. Occurs when this element loses mouse capture. Occurs when this element loses stylus capture. Occurs when this element loses a touch capture. Occurs when the manipulation encounters a boundary. Occurs when the input device changes position during a manipulation. Occurs when the manipulation processor is first created. Occurs when any mouse button is pressed while the pointer is over this element.

Occurs when the mouse pointer enters the bounds of this element. Occurs when the mouse pointer leaves the bounds of this element. Occurs when the left mouse button is pressed while the mouse pointer is over this element.

Occurs when the left mouse button is released while the mouse pointer is over this element. Occurs when the mouse pointer moves while over this element. Occurs when the right mouse button is pressed while the mouse pointer is over this element. Occurs when the right mouse button is released while the mouse pointer is over this element. Occurs when any mouse button is released over this element.

Occurs when the user rotates the mouse wheel while the mouse pointer is over this element. Occurs when a drag-and-drop operation is started. Occurs when the mouse pointer moves while the mouse pointer is over this element. Occurs when any mouse button is released while the mouse pointer is over this element. Occurs when the stylus button is pressed while the pointer is over this element.

Occurs when the stylus button is released while the pointer is over this element. Occurs when the stylus touches the digitizer while it is over this element. Occurs when the stylus moves over an element without actually touching the digitizer. Occurs when the stylus is close enough to the digitizer to be detected, while over this element. Occurs when the stylus is too far from the digitizer to be detected.

Occurs when a user performs one of several stylus gestures. Occurs when the user raises the stylus off the digitizer while the stylus is over this element.

Occurs when this element gets text in a device-independent manner. Occurs when a finger touches the screen while the finger is over this element. Occurs when a finger moves on the screen while the finger is over this element. Occurs when a finger is raised off of the screen while the finger is over this element. Occurs when the source value changes for any existing property binding on this element.

Occurs when the stylus touches the digitizer while the stylus is over this element. Occurs when the stylus enters the bounds of this element. Occurs when the stylus leaves the bounds of the element. Occurs when the stylus is too far from the digitizer to be detected, while over this element. Occurs when the user raises the stylus off the digitizer while it is over this element.

Occurs when the target value changes for any property binding on this element. Occurs just before any tooltip on the element is closed. Occurs when any tooltip on the element is opened. Occurs when a touch moves from outside to inside the bounds of this element. Occurs when a touch moves from inside to outside the bounds of this element.

Occurs when the element is removed from within an element tree of loaded elements.



0コメント

  • 1000 / 1000