TextBoxEx - класс

Текстовое поле с возможность отображения водяных знаков и содержимого в правой части редактора

Definition

Пространство имён: Tessa.UI.Controls
Сборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
C#
public class TextBoxEx : TextBox
Inheritance
Object    DispatcherObject    DependencyObject    Visual    UIElement    FrameworkElement    Control    TextBoxBase    TextBox    TextBoxEx

Конструкторы

TextBoxEx Initializes a new instance of the TextBoxEx class. Инициализирует новый экземпляр класса TextBox.

Свойства

AcceptsReturnGets or sets a value that indicates how the text editing control responds when the user presses the ENTER key.
(Унаследован от TextBoxBase)
AcceptsTabGets or sets a value that indicates how the text editing control responds when the user presses the TAB key.
(Унаследован от TextBoxBase)
ActualHeightGets the rendered height of this element.
(Унаследован от FrameworkElement)
ActualWidthGets the rendered width of this element.
(Унаследован от FrameworkElement)
AllowDropGets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. This is a dependency property.
(Унаследован от UIElement)
AreAnyTouchesCapturedGets a value that indicates whether at least one touch is captured to this element.
(Унаследован от UIElement)
AreAnyTouchesCapturedWithinGets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree.
(Унаследован от UIElement)
AreAnyTouchesDirectlyOverGets a value that indicates whether at least one touch is pressed over this element.
(Унаследован от UIElement)
AreAnyTouchesOverGets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree.
(Унаследован от UIElement)
AutoWordSelectionGets or sets a value that determines whether when a user selects part of a word by dragging across it with the mouse, the rest of the word is selected.
(Унаследован от TextBoxBase)
BackgroundGets or sets a brush that describes the background of a control.
(Унаследован от Control)
BindingGroupGets or sets the BindingGroup that is used for the element.
(Унаследован от FrameworkElement)
BitmapEffectGets or sets a bitmap effect that applies directly to the rendered content for this element. This is a dependency property.
(Унаследован от UIElement)
Устарело.
BitmapEffectInputGets or sets an input source for the bitmap effect that applies directly to the rendered content for this element. This is a dependency property.
(Унаследован от UIElement)
Устарело.
BorderBrushGets or sets a brush that describes the border background of a control.
(Унаследован от Control)
BorderThicknessGets or sets the border thickness of a control.
(Унаследован от Control)
CacheModeGets or sets a cached representation of the UIElement.
(Унаследован от UIElement)
CanRedoGets a value that indicates whether the most recent undo action can be redone.
(Унаследован от TextBoxBase)
CanUndoGets a value that indicates whether the most recent action can be undone.
(Унаследован от TextBoxBase)
CaretBrushGets or sets the brush that is used to paint the caret of the text box.
(Унаследован от TextBoxBase)
CaretIndexGets or sets the insertion position index of the caret.
(Унаследован от TextBox)
CharacterCasingGets or sets how characters are cased when they are manually entered into the text box.
(Унаследован от TextBox)
ClipGets or sets the geometry used to define the outline of the contents of an element. This is a dependency property.
(Унаследован от UIElement)
ClipToBoundsGets or sets a value indicating whether to clip the content of this element (or content coming from the child elements of this element) to fit into the size of the containing element. This is a dependency property.
(Унаследован от UIElement)
CommandBindingsGets a collection of CommandBinding objects associated with this element. A CommandBinding enables command handling for this element, and declares the linkage between a command, its events, and the handlers attached by this element.
(Унаследован от UIElement)
Content Gets or sets Содержимое отображаемое в правой части редактора
ContextMenuGets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element.
(Унаследован от FrameworkElement)
CursorGets or sets the cursor that displays when the mouse pointer is over this element.
(Унаследован от FrameworkElement)
DataContextGets or sets the data context for an element when it participates in data binding.
(Унаследован от FrameworkElement)
DefaultStyleKeyGets or sets the key to use to reference the style for this control, when theme styles are used or defined.
(Унаследован от FrameworkElement)
DependencyObjectTypeGets the DependencyObjectType that wraps the CLR type of this instance.
(Унаследован от DependencyObject)
DesiredSizeGets the size that this element computed during the measure pass of the layout process.
(Унаследован от UIElement)
DispatcherGets the Dispatcher this DispatcherObject is associated with.
(Унаследован от DispatcherObject)
EffectGets or sets the bitmap effect to apply to the UIElement. This is a dependency property.
(Унаследован от UIElement)
ExtentHeightGets the vertical size of the visible content area.
(Унаследован от TextBoxBase)
ExtentWidthGets the horizontal size of the visible content area.
(Унаследован от TextBoxBase)
FlowDirectionGets or sets the direction that text and other user interface (UI) elements flow within any parent element that controls their layout.
(Унаследован от FrameworkElement)
FocusableGets or sets a value that indicates whether the element can receive focus. This is a dependency property.
(Унаследован от UIElement)
FocusVisualStyleGets or sets a property that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus.
(Унаследован от FrameworkElement)
FontFamilyGets or sets the font family of the control.
(Унаследован от Control)
FontSizeGets or sets the font size.
(Унаследован от Control)
FontStretchGets or sets the degree to which a font is condensed or expanded on the screen.
(Унаследован от Control)
FontStyleGets or sets the font style.
(Унаследован от Control)
FontWeightGets or sets the weight or thickness of the specified font.
(Унаследован от Control)
ForceCursorGets or sets a value that indicates whether this FrameworkElement should force the user interface (UI) to render the cursor as declared by the Cursor property.
(Унаследован от FrameworkElement)
ForegroundGets or sets a brush that describes the foreground color.
(Унаследован от Control)
HandlesScrollingGets a value that indicates whether a control supports scrolling.
(Унаследован от Control)
HasAnimatedPropertiesGets a value indicating whether this element has any animated properties.
(Унаследован от UIElement)
HasEffectiveKeyboardFocusGets a value that indicates whether the UIElement has focus.
(Унаследован от UIElement)
HasText Gets a value indicating whether has text.
HeightGets or sets the suggested height of the element.
(Унаследован от FrameworkElement)
HorizontalAlignmentGets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control.
(Унаследован от FrameworkElement)
HorizontalContentAlignmentGets or sets the horizontal alignment of the control's content.
(Унаследован от Control)
HorizontalOffsetGets or sets the horizontal scroll position.
(Унаследован от TextBoxBase)
HorizontalScrollBarVisibilityGets or sets a value that indicates whether a horizontal scroll bar is shown.
(Унаследован от TextBoxBase)
InheritanceBehaviorGets or sets the scope limits for property value inheritance, resource key lookup, and RelativeSource FindAncestor lookup.
(Унаследован от FrameworkElement)
InputBindingsGets the collection of input bindings associated with this element.
(Унаследован от UIElement)
InputScopeGets or sets the context for input used by this FrameworkElement.
(Унаследован от FrameworkElement)
IsArrangeValidGets a value indicating whether the computed size and position of child elements in this element's layout are valid.
(Унаследован от UIElement)
IsEnabledGets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property.
(Унаследован от UIElement)
IsEnabledCoreGets a value that becomes the return value of IsEnabled in derived classes.
(Унаследован от UIElement)
IsFocusedGets a value that determines whether this element has logical focus. This is a dependency property.
(Унаследован от UIElement)
IsHitTestVisibleGets or sets a value that declares whether this element can possibly be returned as a hit test result from some portion of its rendered content. This is a dependency property.
(Унаследован от UIElement)
IsInactiveSelectionHighlightEnabledGets or sets a value that indicates whether the text box displays selected text when the text box does not have focus.
(Унаследован от TextBoxBase)
IsInitializedGets a value that indicates whether this element has been initialized, either during processing by a XAML processor, or by explicitly having its EndInit method called.
(Унаследован от FrameworkElement)
IsInputMethodEnabledGets a value indicating whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element.
(Унаследован от UIElement)
IsKeyboardFocusedGets a value indicating whether this element has keyboard focus. This is a dependency property.
(Унаследован от UIElement)
IsKeyboardFocusWithinGets a value indicating whether keyboard focus is anywhere within the element or its visual tree child elements. This is a dependency property.
(Унаследован от UIElement)
IsLoadedGets a value that indicates whether this element has been loaded for presentation.
(Унаследован от FrameworkElement)
IsManipulationEnabledGets or sets a value that indicates whether manipulation events are enabled on this UIElement.
(Унаследован от UIElement)
IsMeasureValidGets a value indicating whether the current size returned by layout measure is valid.
(Унаследован от UIElement)
IsMouseCapturedGets a value indicating whether the mouse is captured to this element. This is a dependency property.
(Унаследован от UIElement)
IsMouseCaptureWithinGets a value that determines whether mouse capture is held by this element or by child elements in its visual tree. This is a dependency property.
(Унаследован от UIElement)
IsMouseDirectlyOverGets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. This is a dependency property.
(Унаследован от UIElement)
IsMouseOverGets a value indicating whether the mouse pointer is located over this element (including child elements in the visual tree). This is a dependency property.
(Унаследован от UIElement)
IsReadOnlyGets or sets a value that indicates whether the text editing control is read-only to a user interacting with the control.
(Унаследован от TextBoxBase)
IsReadOnlyCaretVisibleGets or sets a value that indicates whether a read-only text box displays a caret.
(Унаследован от TextBoxBase)
IsSealedGets a value that indicates whether this instance is currently sealed (read-only).
(Унаследован от DependencyObject)
IsSelectionActiveGets a value that indicates whether the text box has focus and selected text.
(Унаследован от TextBoxBase)
IsStylusCapturedGets a value indicating whether the stylus is captured by this element. This is a dependency property.
(Унаследован от UIElement)
IsStylusCaptureWithinGets a value that determines whether stylus capture is held by this element, or an element within the element bounds and its visual tree. This is a dependency property.
(Унаследован от UIElement)
IsStylusDirectlyOverGets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. This is a dependency property.
(Унаследован от UIElement)
IsStylusOverGets a value indicating whether the stylus cursor is located over this element (including visual child elements). This is a dependency property.
(Унаследован от UIElement)
IsTabStopGets or sets a value that indicates whether a control is included in tab navigation.
(Унаследован от Control)
IsUndoEnabledGets or sets a value that indicates whether undo support is enabled for the text-editing control.
(Унаследован от TextBoxBase)
IsVisibleGets a value indicating whether this element is visible in the user interface (UI). This is a dependency property.
(Унаследован от UIElement)
LabelText Gets or sets the label text.
LabelTextColor Gets or sets the label text color.
LanguageGets or sets localization/globalization language information that applies to an element.
(Унаследован от FrameworkElement)
LayoutTransformGets or sets a graphics transformation that should apply to this element when layout is performed.
(Унаследован от FrameworkElement)
LineCountGets the total number of lines in the text box.
(Унаследован от TextBox)
LogicalChildrenGets an enumerator for the logical child elements of the TextBox.
(Унаследован от TextBox)
MarginGets or sets the outer margin of an element.
(Унаследован от FrameworkElement)
MaxHeightGets or sets the maximum height constraint of the element.
(Унаследован от FrameworkElement)
MaxLengthGets or sets the maximum number of characters that can be manually entered into the text box.
(Унаследован от TextBox)
MaxLinesGets or sets the maximum number of visible lines.
(Унаследован от TextBox)
MaxWidthGets or sets the maximum width constraint of the element.
(Унаследован от FrameworkElement)
MinHeightGets or sets the minimum height constraint of the element.
(Унаследован от FrameworkElement)
MinLinesGets or sets the minimum number of visible lines.
(Унаследован от TextBox)
MinWidthGets or sets the minimum width constraint of the element.
(Унаследован от FrameworkElement)
NameGets or sets the identifying name of the element. The name provides a reference so that code-behind, such as event handler code, can refer to a markup element after it is constructed during processing by a XAML processor.
(Унаследован от FrameworkElement)
OpacityGets or sets the opacity factor applied to the entire UIElement when it is rendered in the user interface (UI). This is a dependency property.
(Унаследован от UIElement)
OpacityMaskGets or sets an opacity mask, as a Brush implementation that is applied to any alpha-channel masking for the rendered content of this element. This is a dependency property.
(Унаследован от UIElement)
OverridesDefaultStyleGets or sets a value that indicates whether this element incorporates style properties from theme styles.
(Унаследован от FrameworkElement)
PaddingGets or sets the padding inside a control.
(Унаследован от Control)
ParentGets the logical parent element of this element.
(Унаследован от FrameworkElement)
PersistIdGets a value that uniquely identifies this element.
(Унаследован от UIElement)
Устарело.
RenderSizeGets (or sets) the final render size of this element.
(Унаследован от UIElement)
RenderTransformGets or sets transform information that affects the rendering position of this element. This is a dependency property.
(Унаследован от UIElement)
RenderTransformOriginGets or sets the center point of any possible render transform declared by RenderTransform, relative to the bounds of the element. This is a dependency property.
(Унаследован от UIElement)
ResourcesGets or sets the locally-defined resource dictionary.
(Унаследован от FrameworkElement)
SelectedTextGets or sets the content of the current selection in the text box.
(Унаследован от TextBox)
SelectionBrushGets or sets the brush that highlights selected text.
(Унаследован от TextBoxBase)
SelectionLengthGets or sets a value indicating the number of characters in the current selection in the text box.
(Унаследован от TextBox)
SelectionOpacityGets or sets the opacity of the SelectionBrush.
(Унаследован от TextBoxBase)
SelectionStartGets or sets a character index for the beginning of the current selection.
(Унаследован от TextBox)
SelectionTextBrushGets or sets a value that defines the brush used for selected text.
(Унаследован от TextBoxBase)
SnapsToDevicePixelsGets or sets a value that determines whether rendering for this element should use device-specific pixel settings during rendering. This is a dependency property.
(Унаследован от UIElement)
SpellCheckGets a SpellCheck object that provides access to spelling errors in the text contents of a TextBoxBase or RichTextBox.
(Унаследован от TextBoxBase)
StyleGets or sets the style used by this element when it is rendered.
(Унаследован от FrameworkElement)
StylusPlugInsGets a collection of all stylus plug-in (customization) objects associated with this element.
(Унаследован от UIElement)
TabIndexGets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key.
(Унаследован от Control)
TagGets or sets an arbitrary object value that can be used to store custom information about this element.
(Унаследован от FrameworkElement)
TemplateGets or sets a control template.
(Унаследован от Control)
TemplatedParentGets a reference to the template parent of this element. This property is not relevant if the element was not created through a template.
(Унаследован от FrameworkElement)
TextGets or sets the text contents of the text box.
(Унаследован от TextBox)
TextAlignmentGets or sets the horizontal alignment of the contents of the text box.
(Унаследован от TextBox)
TextDecorationsGets the text decorations to apply to the text box.
(Унаследован от TextBox)
TextWrappingGets or sets how the text box should wrap text.
(Унаследован от TextBox)
ToolTipGets or sets the tool-tip object that is displayed for this element in the user interface (UI).
(Унаследован от FrameworkElement)
TouchesCapturedGets all touch devices that are captured to this element.
(Унаследован от UIElement)
TouchesCapturedWithinGets all touch devices that are captured to this element or any child elements in its visual tree.
(Унаследован от UIElement)
TouchesDirectlyOverGets all touch devices that are over this element.
(Унаследован от UIElement)
TouchesOverGets all touch devices that are over this element or any child elements in its visual tree.
(Унаследован от UIElement)
TriggersGets the collection of triggers established directly on this element, or in child elements.
(Унаследован от FrameworkElement)
TypographyGets the currently effective typography variations for the text contents of the text box.
(Унаследован от TextBox)
UidGets or sets the unique identifier (for localization) for this element. This is a dependency property.
(Унаследован от UIElement)
UndoLimitGets or sets the number of actions stored in the undo queue.
(Унаследован от TextBoxBase)
UseLayoutRoundingGets or sets a value that indicates whether layout rounding should be applied to this element's size and position during layout.
(Унаследован от FrameworkElement)
VerticalAlignmentGets or sets the vertical alignment characteristics applied to this element when it is composed within a parent element such as a panel or items control.
(Унаследован от FrameworkElement)
VerticalContentAlignmentGets or sets the vertical alignment of the control's content.
(Унаследован от Control)
VerticalOffsetGets or sets the vertical scroll position.
(Унаследован от TextBoxBase)
VerticalScrollBarVisibilityGets or sets a value that indicates whether a vertical scroll bar is shown.
(Унаследован от TextBoxBase)
ViewportHeightGets the vertical size of the scrollable content area.
(Унаследован от TextBoxBase)
ViewportWidthGets the horizontal size of the scrollable content area.
(Унаследован от TextBoxBase)
VisibilityGets or sets the user interface (UI) visibility of this element. This is a dependency property.
(Унаследован от UIElement)
VisualBitmapEffectGets or sets the BitmapEffect value for the Visual.
(Унаследован от Visual)
Устарело.
VisualBitmapEffectInputGets or sets the BitmapEffectInput value for the Visual.
(Унаследован от Visual)
Устарело.
VisualBitmapScalingModeGets or sets the BitmapScalingMode for the Visual.
(Унаследован от Visual)
VisualCacheModeGets or sets a cached representation of the Visual.
(Унаследован от Visual)
VisualChildrenCountGets the number of visual child elements within this element.
(Унаследован от FrameworkElement)
VisualClearTypeHintGets or sets the ClearTypeHint that determines how ClearType is rendered in the Visual.
(Унаследован от Visual)
VisualClipGets or sets the clip region of the Visual as a Geometry value.
(Унаследован от Visual)
VisualEdgeModeGets or sets the edge mode of the Visual as an EdgeMode value.
(Унаследован от Visual)
VisualEffectGets or sets the bitmap effect to apply to the Visual.
(Унаследован от Visual)
VisualOffsetGets or sets the offset value of the visual object.
(Унаследован от Visual)
VisualOpacityGets or sets the opacity of the Visual.
(Унаследован от Visual)
VisualOpacityMaskGets or sets the Brush value that represents the opacity mask of the Visual.
(Унаследован от Visual)
VisualParentGets the visual tree parent of the visual object.
(Унаследован от Visual)
VisualScrollableAreaClipGets or sets a clipped scrollable area for the Visual.
(Унаследован от Visual)
VisualTextHintingModeGets or sets the TextHintingMode of the Visual.
(Унаследован от Visual)
VisualTextRenderingModeGets or sets the TextRenderingMode of the Visual.
(Унаследован от Visual)
VisualTransformGets or sets the Transform value for the Visual.
(Унаследован от Visual)
VisualXSnappingGuidelinesGets or sets the x-coordinate (vertical) guideline collection.
(Унаследован от Visual)
VisualYSnappingGuidelinesGets or sets the y-coordinate (horizontal) guideline collection.
(Унаследован от Visual)
WidthGets or sets the width of the element.
(Унаследован от FrameworkElement)

Методы

AddHandler(RoutedEvent, Delegate)Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element.
(Унаследован от UIElement)
AddHandler(RoutedEvent, Delegate, Boolean)Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.
(Унаследован от UIElement)
AddLogicalChildAdds the provided object to the logical tree of this element.
(Унаследован от FrameworkElement)
AddToEventRouteAdds handlers to the specified EventRoute for the current UIElement event handler collection.
(Унаследован от UIElement)
AddVisualChildDefines the parent-child relationship between two visuals.
(Унаследован от Visual)
AppendTextAppends a string to the contents of a text control.
(Унаследован от TextBoxBase)
ApplyAnimationClock(DependencyProperty, AnimationClock)Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation.
(Унаследован от UIElement)
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior)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.
(Унаследован от UIElement)
ApplyTemplateBuilds the current template's visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call.
(Унаследован от FrameworkElement)
ArrangePositions 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.
(Унаследован от UIElement)
ArrangeCoreImplements ArrangeCore(Rect) (defined as virtual in UIElement) and seals the implementation.
(Унаследован от FrameworkElement)
ArrangeOverrideCalled to arrange and size the content of a Control object.
(Унаследован от Control)
BeginAnimation(DependencyProperty, AnimationTimeline)Starts an animation for a specified animated property on this element.
(Унаследован от UIElement)
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior)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.
(Унаследован от UIElement)
BeginChangeBegins a change block.
(Унаследован от TextBoxBase)
BeginInitStarts the initialization process for this element.
(Унаследован от FrameworkElement)
BeginStoryboard(Storyboard)Begins the sequence of actions that are contained in the provided storyboard.
(Унаследован от FrameworkElement)
BeginStoryboard(Storyboard, HandoffBehavior)Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated.
(Унаследован от FrameworkElement)
BeginStoryboard(Storyboard, HandoffBehavior, Boolean)Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started.
(Унаследован от FrameworkElement)
BringIntoViewAttempts to bring this element into view, within any scrollable regions it is contained within.
(Унаследован от FrameworkElement)
BringIntoView(Rect)Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within.
(Унаследован от FrameworkElement)
CaptureMouseAttempts to force capture of the mouse to this element.
(Унаследован от UIElement)
CaptureStylusAttempts to force capture of the stylus to this element.
(Унаследован от UIElement)
CaptureTouchAttempts to force capture of a touch to this element.
(Унаследован от UIElement)
CheckAccessDetermines whether the calling thread has access to this DispatcherObject.
(Унаследован от DispatcherObject)
ClearClears all the content from the text box.
(Унаследован от TextBox)
ClearValue(DependencyProperty)Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier.
(Унаследован от DependencyObject)
ClearValue(DependencyPropertyKey)Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey.
(Унаследован от DependencyObject)
CoerceValueCoerces 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.
(Унаследован от DependencyObject)
CopyCopies the current selection of the text editing control to the Clipboard.
(Унаследован от TextBoxBase)
CutRemoves the current selection from the text editing control and copies it to the Clipboard.
(Унаследован от TextBoxBase)
DeclareChangeBlockCreates a change block.
(Унаследован от TextBoxBase)
EndChangeEnds a change block.
(Унаследован от TextBoxBase)
EndInitIndicates that the initialization process for the element is complete.
(Унаследован от FrameworkElement)
EqualsDetermines whether a provided DependencyObject is equivalent to the current DependencyObject.
(Унаследован от DependencyObject)
FindCommonVisualAncestorReturns the common ancestor of two visual objects.
(Унаследован от Visual)
FindNameFinds an element that has the provided identifier name.
(Унаследован от FrameworkElement)
FindResourceSearches for a resource with the specified key, and throws an exception if the requested resource is not found.
(Унаследован от FrameworkElement)
FocusAttempts to set focus to this element.
(Унаследован от UIElement)
GetAnimationBaseValueReturns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation.
(Унаследован от UIElement)
GetBindingExpressionReturns the BindingExpression that represents the binding on the specified property.
(Унаследован от FrameworkElement)
GetCharacterIndexFromLineIndexReturns the zero-based character index for the first character in the specified line.
(Унаследован от TextBox)
GetCharacterIndexFromPointReturns the zero-based index of the character that is closest to the specified point.
(Унаследован от TextBox)
GetFirstVisibleLineIndexReturns the line index for the first line that is currently visible in the text box.
(Унаследован от TextBox)
GetHashCodeGets a hash code for this DependencyObject.
(Унаследован от DependencyObject)
GetLastVisibleLineIndexReturns the line index for the last line that is currently visible in the text box.
(Унаследован от TextBox)
GetLayoutClipReturns 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.
(Унаследован от FrameworkElement)
GetLineIndexFromCharacterIndexReturns the zero-based line index for the line that contains the specified character index.
(Унаследован от TextBox)
GetLineLengthReturns the number of characters in the specified line.
(Унаследован от TextBox)
GetLineTextReturns the text that is currently displayed on the specified line.
(Унаследован от TextBox)
GetLocalValueEnumeratorCreates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.
(Унаследован от DependencyObject)
GetNextSpellingErrorCharacterIndexReturns the beginning character index for the next spelling error in the contents of the text box.
(Унаследован от TextBox)
GetRectFromCharacterIndex(Int32)Returns the rectangle for the leading edge of the character at the specified index.
(Унаследован от TextBox)
GetRectFromCharacterIndex(Int32, Boolean)Returns the rectangle for the leading or trailing edge of the character at the specified index.
(Унаследован от TextBox)
GetSpellingErrorReturns a SpellingError object associated with any spelling error at the specified character index.
(Унаследован от TextBox)
GetSpellingErrorLengthReturns the length of any spelling error that includes the specified character.
(Унаследован от TextBox)
GetSpellingErrorStartReturns the beginning character index for any spelling error that includes the specified character.
(Унаследован от TextBox)
GetTemplateChildReturns the named element in the visual tree of an instantiated ControlTemplate.
(Унаследован от FrameworkElement)
GetUIParentCoreReturns an alternative logical parent for this element if there is no visual parent.
(Унаследован от FrameworkElement)
GetValueReturns the current effective value of a dependency property on this instance of a DependencyObject.
(Унаследован от DependencyObject)
GetVisualChildOverrides GetVisualChild(Int32), and returns a child at the specified index from a collection of child elements.
(Унаследован от FrameworkElement)
HitTestCore(GeometryHitTestParameters)Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult).
(Унаследован от UIElement)
HitTestCore(PointHitTestParameters)Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult).
(Унаследован от UIElement)
InputHitTestReturns the input element within the current element that is at the specified coordinates, relative to the current element's origin.
(Унаследован от UIElement)
InvalidateArrangeInvalidates 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.
(Унаследован от UIElement)
InvalidateMeasureInvalidates the measurement state (layout) for the element.
(Унаследован от UIElement)
InvalidatePropertyRe-evaluates the effective value for the specified dependency property.
(Унаследован от DependencyObject)
InvalidateVisualInvalidates the rendering of the element, and forces a complete new layout pass. OnRender(DrawingContext) is called after the layout cycle is completed.
(Унаследован от UIElement)
IsAncestorOfDetermines whether the visual object is an ancestor of the descendant visual object.
(Унаследован от Visual)
IsDescendantOfDetermines whether the visual object is a descendant of the ancestor visual object.
(Унаследован от Visual)
LineDownScrolls the contents of the control down by one line.
(Унаследован от TextBoxBase)
LineLeftScrolls the contents of the control to the left by one line.
(Унаследован от TextBoxBase)
LineRightScrolls the contents of the control to the right by one line.
(Унаследован от TextBoxBase)
LineUpScrolls the contents of the control upward by one line.
(Унаследован от TextBoxBase)
LockCurrentUndoUnitLocks the most recent undo unit of the undo stack of the application. This prevents the locked unit from being merged with undo units that are added subsequently.
(Унаследован от TextBoxBase)
MeasureUpdates the DesiredSize of a UIElement. 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.
(Унаследован от UIElement)
MeasureCoreImplements basic measure-pass layout system behavior for FrameworkElement.
(Унаследован от FrameworkElement)
MeasureOverrideSizes the text box to its content.
(Унаследован от TextBox)
MoveFocusMoves the keyboard focus away from this element and to another element in a provided traversal direction.
(Унаследован от FrameworkElement)
OnAccessKeyProvides class handling for when an access key that is meaningful for this element is invoked.
(Унаследован от UIElement)
OnApplyTemplateIs called when a control template is applied.
(Унаследован от TextBoxBase)
OnChildDesiredSizeChangedSupports layout behavior when a child element is resized.
(Унаследован от UIElement)
OnContextMenuClosingInvoked whenever an unhandled ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event.
(Унаследован от FrameworkElement)
OnContextMenuOpeningCalled whenever an unhandled ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnCreateAutomationPeerCreates and returns an AutomationPeer object for the text box.
(Унаследован от TextBox)
OnDpiChangedCalled when the DPI at which this View is rendered changes.
(Унаследован от Visual)
OnDragEnterInvoked whenever an unhandled DragEnter attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnDragLeaveInvoked whenever an unhandled DragLeave attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnDragOverInvoked whenever an unhandled DragOver attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnDropInvoked whenever an unhandled DragEnter attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnGiveFeedbackInvoked whenever an unhandled GiveFeedback attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnGotFocusInvoked whenever an unhandled GotFocus event reaches this element in its route.
(Унаследован от FrameworkElement)
OnGotKeyboardFocusInvoked whenever an unhandled GotKeyboardFocus attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnGotMouseCaptureInvoked when an unhandled GotMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnGotStylusCaptureInvoked when an unhandled GotStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnGotTouchCaptureProvides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element.
(Унаследован от UIElement)
OnInitializedRaises the Initialized event. This method is invoked whenever IsInitialized is set to internally.
(Унаследован от FrameworkElement)
OnIsKeyboardFocusedChangedInvoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnIsKeyboardFocusWithinChangedInvoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnIsMouseCapturedChangedInvoked when an unhandled IsMouseCapturedChanged event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnIsMouseCaptureWithinChangedInvoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnIsMouseDirectlyOverChangedInvoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnIsStylusCapturedChangedInvoked when an unhandled IsStylusCapturedChanged event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnIsStylusCaptureWithinChangedInvoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnIsStylusDirectlyOverChangedInvoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnKeyDownInvoked whenever an unhandled KeyDown attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnKeyUpInvoked whenever an unhandled KeyUp attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnLostFocusRaises the LostFocus event (using the provided arguments).
(Унаследован от TextBoxBase)
OnLostKeyboardFocusInvoked whenever an unhandled LostKeyboardFocus attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnLostMouseCaptureInvoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnLostStylusCaptureInvoked when an unhandled LostStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnLostTouchCaptureProvides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture.
(Унаследован от UIElement)
OnManipulationBoundaryFeedbackCalled when the ManipulationBoundaryFeedback event occurs.
(Унаследован от UIElement)
OnManipulationCompletedCalled when the ManipulationCompleted event occurs.
(Унаследован от UIElement)
OnManipulationDeltaCalled when the ManipulationDelta event occurs.
(Унаследован от UIElement)
OnManipulationInertiaStartingCalled when the ManipulationInertiaStarting event occurs.
(Унаследован от UIElement)
OnManipulationStartedCalled when the ManipulationStarted event occurs.
(Унаследован от UIElement)
OnManipulationStartingProvides class handling for the ManipulationStarting routed event that occurs when the manipulation processor is first created.
(Унаследован от UIElement)
OnMouseDoubleClickRaises the MouseDoubleClick routed event.
(Унаследован от Control)
OnMouseDownInvoked whenever an unhandled MouseDown attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnMouseEnterInvoked when an unhandled MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnMouseLeaveInvoked when an unhandled MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnMouseLeftButtonDownInvoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnMouseLeftButtonUpInvoked when an unhandled MouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnMouseMoveInvoked whenever an unhandled MouseMove attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnMouseRightButtonDownInvoked when an unhandled MouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnMouseRightButtonUpInvoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnMouseUpInvoked whenever an unhandled MouseUp event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnMouseWheelIs called when a MouseWheel event is routed to this class (or to a class that inherits from this class).
(Унаследован от TextBoxBase)
OnPreviewDragEnterInvoked when an unhandled PreviewDragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewDragLeaveInvoked when an unhandled PreviewDragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewDragOverInvoked when an unhandled PreviewDragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewDropInvoked when an unhandled PreviewDrop attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewGiveFeedbackInvoked when an unhandled PreviewGiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewGotKeyboardFocusInvoked when an unhandled PreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewKeyDownCalled when the KeyDown occurs.
(Унаследован от TextBoxBase)
OnPreviewKeyUpInvoked when an unhandled PreviewKeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewLostKeyboardFocusInvoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseDoubleClickRaises the PreviewMouseDoubleClick routed event.
(Унаследован от Control)
OnPreviewMouseDownInvoked when an unhandled PreviewMouseDown attached routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseLeftButtonDownInvoked when an unhandled PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseLeftButtonUpInvoked when an unhandled PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseMoveInvoked when an unhandled PreviewMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseRightButtonDownInvoked when an unhandled PreviewMouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseRightButtonUpInvoked when an unhandled PreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseUpInvoked when an unhandled PreviewMouseUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewMouseWheelInvoked when an unhandled PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewQueryContinueDragInvoked when an unhandled PreviewQueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusButtonDownInvoked when an unhandled PreviewStylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusButtonUpInvoked when an unhandled PreviewStylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusDownInvoked when an unhandled PreviewStylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusInAirMoveInvoked when an unhandled PreviewStylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusInRangeInvoked when an unhandled PreviewStylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusMoveInvoked when an unhandled PreviewStylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusOutOfRangeInvoked when an unhandled PreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusSystemGestureInvoked when an unhandled PreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewStylusUpInvoked when an unhandled PreviewStylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewTextInputInvoked when an unhandled PreviewTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnPreviewTouchDownProvides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element.
(Унаследован от UIElement)
OnPreviewTouchMoveProvides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element.
(Унаследован от UIElement)
OnPreviewTouchUpProvides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.
(Унаследован от UIElement)
OnPropertyChangedCalled when one or more of the dependency properties that exist on the element have had their effective values changed.
(Унаследован от TextBox)
OnQueryContinueDragInvoked whenever an unhandled QueryContinueDrag attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnQueryCursorInvoked whenever an unhandled QueryCursor attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnRenderWhen 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.
(Унаследован от UIElement)
OnRenderSizeChangedRaises the SizeChanged event, using the specified information as part of the eventual event data.
(Унаследован от FrameworkElement)
OnSelectionChangedIs called when the caret or current selection changes position.
(Унаследован от TextBoxBase)
OnStyleChangedInvoked when the style in use on this element changes, which will invalidate the layout.
(Унаследован от FrameworkElement)
OnStylusButtonDownInvoked when an unhandled StylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusButtonUpInvoked when an unhandled StylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusDownInvoked when an unhandled StylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusEnterInvoked when an unhandled StylusEnter attached event is raised by this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusInAirMoveInvoked when an unhandled StylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusInRangeInvoked when an unhandled StylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusLeaveInvoked when an unhandled StylusLeave attached event is raised by this element. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusMoveInvoked when an unhandled StylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusOutOfRangeInvoked when an unhandled StylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusSystemGestureInvoked when an unhandled StylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnStylusUpInvoked when an unhandled StylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
(Унаследован от UIElement)
OnTemplateChangedIs called when the control template changes.
(Унаследован от TextBoxBase)
OnTextChanged The on text changed.
(Переопределяет TextBoxBaseOnTextChanged(TextChangedEventArgs))
OnTextInputInvoked whenever an unhandled TextInput attached routed event reaches an element derived from this class in its route. Implement this method to add class handling for this event.
(Унаследован от TextBoxBase)
OnToolTipClosingInvoked whenever an unhandled ToolTipClosing routed event reaches this class in its route. Implement this method to add class handling for this event.
(Унаследован от FrameworkElement)
OnToolTipOpeningInvoked whenever the ToolTipOpening routed event reaches this class in its route. Implement this method to add class handling for this event.
(Унаследован от FrameworkElement)
OnTouchDownProvides class handling for the TouchDown routed event that occurs when a touch presses inside this element.
(Унаследован от UIElement)
OnTouchEnterProvides class handling for the TouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element.
(Унаследован от UIElement)
OnTouchLeaveProvides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this UIElement.
(Унаследован от UIElement)
OnTouchMoveProvides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.
(Унаследован от UIElement)
OnTouchUpProvides class handling for the TouchUp routed event that occurs when a touch is released inside this element.
(Унаследован от UIElement)
OnVisualChildrenChangedCalled when the VisualCollection of the visual object is modified.
(Унаследован от Visual)
OnVisualParentChangedInvoked when the parent of this element in the visual tree is changed. Overrides OnVisualParentChanged(DependencyObject).
(Унаследован от FrameworkElement)
PageDownScrolls the contents of the control down by one page.
(Унаследован от TextBoxBase)
PageLeftScrolls the contents of the control to the left by one page.
(Унаследован от TextBoxBase)
PageRightScrolls the contents of the control to the right by one page.
(Унаследован от TextBoxBase)
PageUpScrolls the contents of the control up by one page.
(Унаследован от TextBoxBase)
ParentLayoutInvalidatedSupports incremental layout implementations in specialized subclasses of FrameworkElement. ParentLayoutInvalidated(UIElement) is invoked when a child element has invalidated a property that is marked in metadata as affecting the parent's measure or arrange passes during layout.
(Унаследован от FrameworkElement)
PastePastes the contents of the Clipboard over the current selection in the text editing control.
(Унаследован от TextBoxBase)
PointFromScreenConverts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual.
(Унаследован от Visual)
PointToScreenConverts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates.
(Унаследован от Visual)
PredictFocusDetermines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus.
(Унаследован от FrameworkElement)
RaiseEventRaises a specific routed event. The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data).
(Унаследован от UIElement)
ReadLocalValueReturns the local value of a dependency property, if it exists.
(Унаследован от DependencyObject)
RedoUndoes the most recent undo command. In other words, redoes the most recent undo unit on the undo stack.
(Унаследован от TextBoxBase)
RegisterNameProvides an accessor that simplifies access to the NameScope registration method.
(Унаследован от FrameworkElement)
ReleaseAllTouchCapturesReleases all captured touch devices from this element.
(Унаследован от UIElement)
ReleaseMouseCaptureReleases the mouse capture, if this element held the capture.
(Унаследован от UIElement)
ReleaseStylusCaptureReleases the stylus device capture, if this element held the capture.
(Унаследован от UIElement)
ReleaseTouchCaptureAttempts to release the specified touch device from this element.
(Унаследован от UIElement)
RemoveHandlerRemoves the specified routed event handler from this element.
(Унаследован от UIElement)
RemoveLogicalChildRemoves the provided object from this element's logical tree. FrameworkElement updates the affected logical tree parent pointers to keep in sync with this deletion.
(Унаследован от FrameworkElement)
RemoveVisualChildRemoves the parent-child relationship between two visuals.
(Унаследован от Visual)
ScrollToEndScrolls the view of the editing control to the end of the content.
(Унаследован от TextBoxBase)
ScrollToHomeScrolls the view of the editing control to the beginning of the viewport.
(Унаследован от TextBoxBase)
ScrollToHorizontalOffsetScrolls the contents of the editing control to the specified horizontal offset.
(Унаследован от TextBoxBase)
ScrollToLineScrolls the line at the specified line index into view.
(Унаследован от TextBox)
ScrollToVerticalOffsetScrolls the contents of the editing control to the specified vertical offset.
(Унаследован от TextBoxBase)
SelectSelects a range of text in the text box.
(Унаследован от TextBox)
SelectAllSelects all the contents of the text editing control.
(Унаследован от TextBoxBase)
SetBinding(DependencyProperty, String)Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.
(Унаследован от FrameworkElement)
SetBinding(DependencyProperty, BindingBase)Attaches a binding to this element, based on the provided binding object.
(Унаследован от FrameworkElement)
SetCurrentValueSets the value of a dependency property without changing its value source.
(Унаследован от DependencyObject)
SetResourceReferenceSearches for a resource with the specified name and sets up a resource reference to it for the specified property.
(Унаследован от FrameworkElement)
SetValue(DependencyProperty, Object)Sets the local value of a dependency property, specified by its dependency property identifier.
(Унаследован от DependencyObject)
SetValue(DependencyPropertyKey, Object)Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.
(Унаследован от DependencyObject)
ShouldSerializeCommandBindingsReturns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class.
(Унаследован от UIElement)
ShouldSerializeInputBindingsReturns whether serialization processes should serialize the contents of the InputBindings property on instances of this class.
(Унаследован от UIElement)
ShouldSerializePropertyReturns a value that indicates whether serialization processes should serialize the value for the provided dependency property.
(Унаследован от DependencyObject)
ShouldSerializeResourcesReturns whether serialization processes should serialize the contents of the Resources property.
(Унаследован от FrameworkElement)
ShouldSerializeStyleReturns whether serialization processes should serialize the contents of the Style property.
(Унаследован от FrameworkElement)
ShouldSerializeTextReturns a value that indicates whether the effective value of the Text property should be serialized during serialization of the TextBox object.
(Унаследован от TextBox)
ShouldSerializeTriggersReturns whether serialization processes should serialize the contents of the Triggers property.
(Унаследован от FrameworkElement)
ToStringReturns the string representation of a Control object.
(Унаследован от Control)
TransformToAncestor(Visual)Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object.
(Унаследован от Visual)
TransformToAncestor(Visual3D)Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object.
(Унаследован от Visual)
TransformToDescendantReturns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant.
(Унаследован от Visual)
TransformToVisualReturns a transform that can be used to transform coordinates from the Visual to the specified visual object.
(Унаследован от Visual)
TranslatePointTranslates a point relative to this element to coordinates that are relative to the specified element.
(Унаследован от UIElement)
TryFindResourceSearches for a resource with the specified key, and returns that resource if found.
(Унаследован от FrameworkElement)
UndoUndoes the most recent undo command. In other words, undoes the most recent undo unit on the undo stack.
(Унаследован от TextBoxBase)
UnregisterNameSimplifies access to the NameScope de-registration method.
(Унаследован от FrameworkElement)
UpdateDefaultStyleReapplies the default style to the current FrameworkElement.
(Унаследован от FrameworkElement)
UpdateLayoutEnsures that all visual child elements of this element are properly updated for layout.
(Унаследован от UIElement)
VerifyAccessEnforces that the calling thread has access to this DispatcherObject.
(Унаследован от DispatcherObject)

События

ContextMenuClosingOccurs just before any context menu on the element is closed.
(Унаследован от FrameworkElement)
ContextMenuOpeningOccurs when any context menu on the element is opened.
(Унаследован от FrameworkElement)
DataContextChangedOccurs when the data context for this element changes.
(Унаследован от FrameworkElement)
DragEnterOccurs when the input system reports an underlying drag event with this element as the drag target.
(Унаследован от UIElement)
DragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin.
(Унаследован от UIElement)
DragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target.
(Унаследован от UIElement)
DropOccurs when the input system reports an underlying drop event with this element as the drop target.
(Унаследован от UIElement)
FocusableChangedOccurs when the value of the Focusable property changes.
(Унаследован от UIElement)
GiveFeedbackOccurs when the input system reports an underlying drag-and-drop event that involves this element.
(Унаследован от UIElement)
GotFocusOccurs when this element gets logical focus.
(Унаследован от UIElement)
GotKeyboardFocusOccurs when the keyboard is focused on this element.
(Унаследован от UIElement)
GotMouseCaptureOccurs when this element captures the mouse.
(Унаследован от UIElement)
GotStylusCaptureOccurs when this element captures the stylus.
(Унаследован от UIElement)
GotTouchCaptureOccurs when a touch is captured to this element.
(Унаследован от UIElement)
InitializedOccurs when this FrameworkElement is initialized. This event coincides with cases where the value of the IsInitialized property changes from (or undefined) to .
(Унаследован от FrameworkElement)
IsEnabledChangedOccurs when the value of the IsEnabled property on this element changes.
(Унаследован от UIElement)
IsHitTestVisibleChangedOccurs when the value of the IsHitTestVisible dependency property changes on this element.
(Унаследован от UIElement)
IsKeyboardFocusedChangedOccurs when the value of the IsKeyboardFocused property changes on this element.
(Унаследован от UIElement)
IsKeyboardFocusWithinChangedOccurs when the value of the IsKeyboardFocusWithin property changes on this element.
(Унаследован от UIElement)
IsMouseCapturedChangedOccurs when the value of the IsMouseCaptured property changes on this element.
(Унаследован от UIElement)
IsMouseCaptureWithinChangedOccurs when the value of the IsMouseCaptureWithinProperty changes on this element.
(Унаследован от UIElement)
IsMouseDirectlyOverChangedOccurs when the value of the IsMouseDirectlyOver property changes on this element.
(Унаследован от UIElement)
IsStylusCapturedChangedOccurs when the value of the IsStylusCaptured property changes on this element.
(Унаследован от UIElement)
IsStylusCaptureWithinChangedOccurs when the value of the IsStylusCaptureWithin property changes on this element.
(Унаследован от UIElement)
IsStylusDirectlyOverChangedOccurs when the value of the IsStylusDirectlyOver property changes on this element.
(Унаследован от UIElement)
IsVisibleChangedOccurs when the value of the IsVisible property changes on this element.
(Унаследован от UIElement)
KeyDownOccurs when a key is pressed while focus is on this element.
(Унаследован от UIElement)
KeyUpOccurs when a key is released while focus is on this element.
(Унаследован от UIElement)
LayoutUpdatedOccurs when the layout of the various visual elements associated with the current Dispatcher changes.
(Унаследован от UIElement)
LoadedOccurs when the element is laid out, rendered, and ready for interaction.
(Унаследован от FrameworkElement)
LostFocusOccurs when this element loses logical focus.
(Унаследован от UIElement)
LostKeyboardFocusOccurs when the keyboard is no longer focused on this element.
(Унаследован от UIElement)
LostMouseCaptureOccurs when this element loses mouse capture.
(Унаследован от UIElement)
LostStylusCaptureOccurs when this element loses stylus capture.
(Унаследован от UIElement)
LostTouchCaptureOccurs when this element loses a touch capture.
(Унаследован от UIElement)
ManipulationBoundaryFeedbackOccurs when the manipulation encounters a boundary.
(Унаследован от UIElement)
ManipulationCompletedOccurs when a manipulation and inertia on the UIElement object is complete.
(Унаследован от UIElement)
ManipulationDeltaOccurs when the input device changes position during a manipulation.
(Унаследован от UIElement)
ManipulationInertiaStartingOccurs when the input device loses contact with the UIElement object during a manipulation and inertia begins.
(Унаследован от UIElement)
ManipulationStartedOccurs when an input device begins a manipulation on the UIElement object.
(Унаследован от UIElement)
ManipulationStartingOccurs when the manipulation processor is first created.
(Унаследован от UIElement)
MouseDoubleClickOccurs when a mouse button is clicked two or more times.
(Унаследован от Control)
MouseDownOccurs when any mouse button is pressed while the pointer is over this element.
(Унаследован от UIElement)
MouseEnterOccurs when the mouse pointer enters the bounds of this element.
(Унаследован от UIElement)
MouseLeaveOccurs when the mouse pointer leaves the bounds of this element.
(Унаследован от UIElement)
MouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element.
(Унаследован от UIElement)
MouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element.
(Унаследован от UIElement)
MouseMoveOccurs when the mouse pointer moves while over this element.
(Унаследован от UIElement)
MouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element.
(Унаследован от UIElement)
MouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element.
(Унаследован от UIElement)
MouseUpOccurs when any mouse button is released over this element.
(Унаследован от UIElement)
MouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewDragEnterOccurs when the input system reports an underlying drag event with this element as the drag target.
(Унаследован от UIElement)
PreviewDragLeaveOccurs when the input system reports an underlying drag event with this element as the drag origin.
(Унаследован от UIElement)
PreviewDragOverOccurs when the input system reports an underlying drag event with this element as the potential drop target.
(Унаследован от UIElement)
PreviewDropOccurs when the input system reports an underlying drop event with this element as the drop target.
(Унаследован от UIElement)
PreviewGiveFeedbackOccurs when a drag-and-drop operation is started.
(Унаследован от UIElement)
PreviewGotKeyboardFocusOccurs when the keyboard is focused on this element.
(Унаследован от UIElement)
PreviewKeyDownOccurs when a key is pressed while focus is on this element.
(Унаследован от UIElement)
PreviewKeyUpOccurs when a key is released while focus is on this element.
(Унаследован от UIElement)
PreviewLostKeyboardFocusOccurs when the keyboard is no longer focused on this element.
(Унаследован от UIElement)
PreviewMouseDoubleClickOccurs when a user clicks the mouse button two or more times.
(Унаследован от Control)
PreviewMouseDownOccurs when any mouse button is pressed while the pointer is over this element.
(Унаследован от UIElement)
PreviewMouseLeftButtonDownOccurs when the left mouse button is pressed while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewMouseLeftButtonUpOccurs when the left mouse button is released while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewMouseMoveOccurs when the mouse pointer moves while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewMouseRightButtonDownOccurs when the right mouse button is pressed while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewMouseRightButtonUpOccurs when the right mouse button is released while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewMouseUpOccurs when any mouse button is released while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewMouseWheelOccurs when the user rotates the mouse wheel while the mouse pointer is over this element.
(Унаследован от UIElement)
PreviewQueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.
(Унаследован от UIElement)
PreviewStylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element.
(Унаследован от UIElement)
PreviewStylusButtonUpOccurs when the stylus button is released while the pointer is over this element.
(Унаследован от UIElement)
PreviewStylusDownOccurs when the stylus touches the digitizer while it is over this element.
(Унаследован от UIElement)
PreviewStylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer.
(Унаследован от UIElement)
PreviewStylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element.
(Унаследован от UIElement)
PreviewStylusMoveOccurs when the stylus moves while over the element. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead.
(Унаследован от UIElement)
PreviewStylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected.
(Унаследован от UIElement)
PreviewStylusSystemGestureOccurs when a user performs one of several stylus gestures.
(Унаследован от UIElement)
PreviewStylusUpOccurs when the user raises the stylus off the digitizer while the stylus is over this element.
(Унаследован от UIElement)
PreviewTextInputOccurs when this element gets text in a device-independent manner.
(Унаследован от UIElement)
PreviewTouchDownOccurs when a finger touches the screen while the finger is over this element.
(Унаследован от UIElement)
PreviewTouchMoveOccurs when a finger moves on the screen while the finger is over this element.
(Унаследован от UIElement)
PreviewTouchUpOccurs when a finger is raised off of the screen while the finger is over this element.
(Унаследован от UIElement)
QueryContinueDragOccurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.
(Унаследован от UIElement)
QueryCursorOccurs when the cursor is requested to display. This event is raised on an element each time that the mouse pointer moves to a new location, which means the cursor object might need to be changed based on its new position.
(Унаследован от UIElement)
RequestBringIntoViewOccurs when BringIntoView(Rect) is called on this element.
(Унаследован от FrameworkElement)
SelectionChangedOccurs when the text selection has changed.
(Унаследован от TextBoxBase)
SizeChangedOccurs when either the ActualHeight or the ActualWidth properties change value on this element.
(Унаследован от FrameworkElement)
SourceUpdatedOccurs when the source value changes for any existing property binding on this element.
(Унаследован от FrameworkElement)
StylusButtonDownOccurs when the stylus button is pressed while the pointer is over this element.
(Унаследован от UIElement)
StylusButtonUpOccurs when the stylus button is released while the pointer is over this element.
(Унаследован от UIElement)
StylusDownOccurs when the stylus touches the digitizer while the stylus is over this element.
(Унаследован от UIElement)
StylusEnterOccurs when the stylus enters the bounds of this element.
(Унаследован от UIElement)
StylusInAirMoveOccurs when the stylus moves over an element without actually touching the digitizer.
(Унаследован от UIElement)
StylusInRangeOccurs when the stylus is close enough to the digitizer to be detected, while over this element.
(Унаследован от UIElement)
StylusLeaveOccurs when the stylus leaves the bounds of the element.
(Унаследован от UIElement)
StylusMoveOccurs when the stylus moves over this element. The stylus must move while on the digitizer to raise this event. Otherwise, StylusInAirMove is raised instead.
(Унаследован от UIElement)
StylusOutOfRangeOccurs when the stylus is too far from the digitizer to be detected, while over this element.
(Унаследован от UIElement)
StylusSystemGestureOccurs when a user performs one of several stylus gestures.
(Унаследован от UIElement)
StylusUpOccurs when the user raises the stylus off the digitizer while it is over this element.
(Унаследован от UIElement)
TargetUpdatedOccurs when the target value changes for any property binding on this element.
(Унаследован от FrameworkElement)
TextChangedOccurs when content changes in the text element.
(Унаследован от TextBoxBase)
TextInputOccurs when this element gets text in a device-independent manner.
(Унаследован от UIElement)
ToolTipClosingOccurs just before any tooltip on the element is closed.
(Унаследован от FrameworkElement)
ToolTipOpeningOccurs when any tooltip on the element is opened.
(Унаследован от FrameworkElement)
TouchDownOccurs when a finger touches the screen while the finger is over this element.
(Унаследован от UIElement)
TouchEnterOccurs when a touch moves from outside to inside the bounds of this element.
(Унаследован от UIElement)
TouchLeaveOccurs when a touch moves from inside to outside the bounds of this element.
(Унаследован от UIElement)
TouchMoveOccurs when a finger moves on the screen while the finger is over this element.
(Унаследован от UIElement)
TouchUpOccurs when a finger is raised off of the screen while the finger is over this element.
(Унаследован от UIElement)
UnloadedOccurs when the element is removed from within an element tree of loaded elements.
(Унаследован от FrameworkElement)

Поля

ContentProperty The content property.
HasTextProperty The has text property.
LabelTextColorProperty The label text color property.
LabelTextProperty The label text property.

Методы расширения

GetVisibleSize Возвращает размер области элемента, который сейчас отображается на экране. В обработчике события SizeChanged можно получить актуальные отображаемые размеры, которые могут быть меньше ActualWidth/ActualHeight, например, в случае, если элементу явно указаны Width/Height, но размеры рабочей области (окна) не позволяют контролу разместиться полностью, и края контрола "обрезаются". В этом случае свойства ActualWidth/ActualHeight возвращают размеры контролы без учёта "обрезания", а этот метод - размеры "после обрезания", т.е. те размеры, которые фактически видит пользователь.
(Определяется UIExtensions)

См. также