System windows documents run не является visual или visual3d

WPF: System.ArgumentException => < "'<0>» не является Visual или Visual3D. «>

когда я d ouble-click, или нажмите один раз, когда он уже сфокусирован — под элементами в пустой области списка, который находится внутри моей DataGridTemplateColumn, тогда я получаю вышеуказанное сообщение об ошибке.

Относитесь к этому изображению, где я нажимаю кнопку «myPhotos.png»:
alt text http://666kb.com/i/bh6lbd47okwancfel.png

РЕДАКТИРОВАТЬ: эта ошибка также уже видна в XAML с помощью всплывающей подсказки, которая просто не увидела эту подсказку.

Это действительно кажется ошибкой. Я запустил ваш проект воспроизведения и проверил стек вызовов, когда вызывается исключение. Это происходит в DataGridCell.RemoveBindingExpressionions во время вызова VisualTreeHelper.IsAncestorOf. Последний метод выдает исключение, когда ему передается объект, который не является Visual или Visual3D. Но DataGridCell передает его независимо от того, какой элемент является объектом привязки. В вашем случае это Run, который не является результатом Visual.

Я думал, что вы сможете обойти его, используя IValueConverter для создания FlowDocument и привязки RichTextBox.Document, чтобы привязка была применена к RichTextBox. Но поскольку Document не является свойством зависимостей, он не может быть объектом привязки.

Итак, вместо этого вы можете создать UserControl, в котором находится элемент управления RichTextBox:

Затем в этом пользовательском элементе управления вы позаботитесь о создании RichTextBox, документа, запуска и т.д. К сожалению, я думаю, что это просто ограничение (ака ошибка) в элементе управления DataGrid.

‘System.Windows.Documents.Run’ is not a Visual or Visual3D’ Exception #17

Comments

punker76 commented Feb 18, 2013

Original author: manfred. @gmail.com (June 04, 2010 12:57:40)

Suddenly an unhandled Exception is thrown namely:
‘System.Windows.Documents.Run’ is not a Visual or Visual3D’

The exception occurs in
VisualTreeExtensions.cs in the Method GetVisualAncestor (this
DependencyObject d) where T : class

To solve the problem I would add a check like so:
public static T GetVisualAncestor (this DependencyObject d) where T :
class
<
if (d is Visual || d is System.Windows.Media.Media3D.Visual3D)
<
DependencyObject item = VisualTreeHelper.GetParent(d);

The text was updated successfully, but these errors were encountered:

punker76 commented Feb 18, 2013

From gro. @gmail.com on June 22, 2010 10:35:56
Could you give me more information about this issue please? Where is the Run defined? If you could provide a minimal XAML example that would be helpful.

punker76 commented Feb 18, 2013

From jbo. @gmail.com on February 14, 2011 17:16:39
I was having this problem too. But using a fix like this prevented me from dragging something that has a Run in it if the user clicks on the Run.
Here is a patch to fix it. The patch also updates to VS 2010 and dot net 4, but you can reverse the changes to the .csproj file if you don’t want that.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

В С# не работает using System.Windows.Forms; как его подключить?

делают тк там добавить -> Cсылка->COM->System.Windows.Forms

но все равно подчеркивает Forms в using System.Windows.Forms

  • Вопрос задан более года назад
  • 4106 просмотров

Какую IDE используете?
Как создаете проект?
.net Core или .net framework?

class Program <
static void Main()
<
MessageBox.Show(«Message»);
>
>

Программирование на C# для начинающих. Основные сведения. Алексей Васильев

.net Core, Visual Studio 2019, создаю проект в консоли(так ведь можно)

можно, но только когда вы знаете что делать дальше. а сейчас очевидно что не знаете:
— в .net Core формы поддерживатся с версии самой корки 3.*
— .net Core 3.* поддерживается начиная с Visual Studio 2019 (и то начиная со свежих билдов, осенних)
— визуального редактора форм на данный момент не существует
— есть руководство https://docs.microsoft.com/ru-ru/dotnet/core/porti. (что подключать там тоже написано)

совет — если вы только начинаете изучать программирование, не готовы осваивать XAML и нуждаете в визуальном редакторе форм, практикуйтесь сначала в .Net Framework, и используйте шаблон проекта WinForms

Run Класс

Определение

Элемент содержимого потока встроенного уровня предназначен для содержания цепочки форматированного или неформатированного текста. An inline-level flow content element intended to contain a run of formatted or unformatted text.

Комментарии

Начиная с платформа .NET Framework 4 Text свойство Run объекта является свойством зависимостей, которое означает, что можно привязать Text свойство к источнику данных. Starting in the .NET Framework 4, the Text property of the Run object is a dependency property, which means that you can bind the Text property to a data source. TextСвойство полностью поддерживает одностороннюю привязку в FlowDocumentReader и другие элементы управления, отображающие текст, предназначенный только для чтения. The Text property fully supports one-way binding in FlowDocumentReader and other controls that display read-only text. Дополнительные сведения о привязке данных см. в разделе Общие сведения о привязке данных. For more information about data binding, see Data Binding Overview.

Привязка текста к Run объекту, содержащемуся в RichTextBox , не поддерживается. Binding text to a Run object contained within RichTextBox is not supported. Операции редактирования в RichTextBox могут привести к очистке привязки. Editing operations within the RichTextBox may cause the binding to be cleared.

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

Инициализирует новый экземпляр по умолчанию для класса Run. Initializes a new, default instance of the Run class.

Инициализация нового экземпляра класса Run, используя заданную строку в качестве начального содержимого текстового выполнения. Initializes a new instance of the Run class, taking a specified string as the initial contents of the text run.

Инициализация нового экземпляра класса Run, используя заданную строку в качестве начального содержимого текстового выполнения, и TextPointer, указывающий позицию вставки для текстового выполнения. Initializes a new instance of the Run class, taking a specified string as the initial contents of the text run, and a TextPointer specifying an insertion position for the text run.

Идентифицирует свойство зависимостей Text. Identifies the Text dependency property.

Свойства

Возвращает или задает значение, указывающее, можно ли использовать этот элемент как целевой объект операции перетаскивания. Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation.

(Унаследовано от ContentElement) AreAnyTouchesCaptured

Получает значение, которое указывает, была ли хотя бы одна операция сенсорного ввода передана в данный элемент. Gets a value that indicates whether at least one touch is captured to this element.

(Унаследовано от ContentElement) AreAnyTouchesCapturedWithin

Получает значение, указывающее, была ли хотя бы одна операция сенсорного ввода передана в данный элемент или в какой-либо из его дочерних элементов в визуальном дереве. Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree.

(Унаследовано от ContentElement) AreAnyTouchesDirectlyOver

Получает значение, которое указывает, произошло ли хотя бы одно сенсорное нажатие данного элемента. Gets a value that indicates whether at least one touch is pressed over this element.

(Унаследовано от ContentElement) AreAnyTouchesOver

Получает значение, указывающее, произошло ли хотя бы одно сенсорное нажатие данного элемента или какого-либо из его дочерних элементов в визуальном дереве. Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree.

(Унаследовано от ContentElement) Background

Возвращает или задает кисть, которая используется для заливки фона области содержимого. Gets or sets the brush used to fill the background of the content area.

(Унаследовано от TextElement) BaselineAlignment

Получает или задает выравнивание базового плана для элемента Inline. Gets or sets the baseline alignment for the Inline element.

(Унаследовано от Inline) BindingGroup

Возвращает или задает группу BindingGroup, которая используется для элемента. Gets or sets the BindingGroup that is used for the element.

(Унаследовано от FrameworkContentElement) CommandBindings

Возвращает коллекцию объектов CommandBinding, сопоставленных этому элементу. Gets a collection of CommandBinding objects that are associated with this element.

(Унаследовано от ContentElement) ContentEnd

Возвращает текстовый указатель, представляющий конец содержимого в элементе. Gets a text pointer that represents the end of the content in the element.

(Унаследовано от TextElement) ContentStart

Возвращает текстовый указатель, представляющий начало содержимого в элементе. Gets a text pointer that represents the start of content in the element.

(Унаследовано от TextElement) ContextMenu

Возвращает или задает элемент контекстного меню, который должен отображаться при запросе контекстного меню через пользовательский интерфейс из этого элемента. Gets or sets the context menu element that should appear whenever the context menu is requested via user interface (UI) from within this element.

(Унаследовано от FrameworkContentElement) Cursor

Получение или установка курсора, который отображается при наведении указателя мыши на этот элемент. Gets or sets the cursor that displays when the mouse pointer is over this element.

(Унаследовано от FrameworkContentElement) DataContext

Получает или задает контекст данных для элемента, участвующего в привязке данных. Gets or sets the data context for an element when it participates in data binding.

(Унаследовано от FrameworkContentElement) DefaultStyleKey

Возвращает или задает ключ, используемый для поиска шаблона стиля данного элемента управления в темах. Gets or sets the key to use to find the style template for this control in themes.

(Унаследовано от FrameworkContentElement) DependencyObjectType

Возвращает объект DependencyObjectType , который заключает в оболочку тип CLR данного экземпляра. Gets the DependencyObjectType that wraps the CLR type of this instance.

(Унаследовано от DependencyObject) Dispatcher

Возвращает объект Dispatcher, с которым связан этот объект DispatcherObject. Gets the Dispatcher this DispatcherObject is associated with.

(Унаследовано от DispatcherObject) ElementEnd

Возвращает текстовый указатель, представляющий позицию, которая следует сразу за концом элемента. Gets a text pointer that represents the position just after the end of the element.

(Унаследовано от TextElement) ElementStart

Возвращает текстовый указатель, представляющий позицию, которая находится прямо перед началом элемента. Gets a text pointer that represents the position just before the start of the element.

(Унаследовано от TextElement) FlowDirection

Получает или задает значение, определяющее относительное направление потока содержимого в элементе Inline. Gets or sets a value that specifies the relative direction for flow of content within a Inline element.

(Унаследовано от Inline) Focusable

Получение или установка значения, определяющего возможность получения фокуса элементом. Gets or sets a value that indicates whether the element can receive focus.

(Унаследовано от ContentElement) FocusVisualStyle

Получает или задает объект, позволяющий настройку внешнего вида, эффектов или других характеристик стиля, применяемых к данному элементу, когда он получает фокус клавиатуры. Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus.

(Унаследовано от FrameworkContentElement) FontFamily

Возвращает или задает предпочтительное семейство шрифтов верхнего уровня для содержимого элемента. Gets or sets the preferred top-level font family for the content of the element.

(Унаследовано от TextElement) FontSize

Получает или задает размер шрифта для содержимого элемента. Gets or sets the font size for the content of the element.

(Унаследовано от TextElement) FontStretch

Получает или задает характеристики растягивания шрифта для содержимого элемента. Gets or sets the font-stretching characteristics for the content of the element.

(Унаследовано от TextElement) FontStyle

Получает или задает стиль шрифта для содержимого элемента. Gets or sets the font style for the content of the element.

(Унаследовано от TextElement) FontWeight

Возвращает или задает вес шрифта верхнего уровня для содержимого элемента. Gets or sets the top-level font weight for the content of the element.

(Унаследовано от TextElement) ForceCursor

Возвращает или задает значение, указывающее, должен ли этот пользовательский FrameworkContentElement интерфейс выполнять отрисовку курсора, как объявлено Cursor свойством этого экземпляра. Gets or sets a value indicating whether this FrameworkContentElement should force the user interface (UI) to render the cursor as declared by this instance’s Cursor property.

(Унаследовано от FrameworkContentElement) Foreground

Возвращает или задает кисть, которая применяется к содержимому элемента. Gets or sets the brush to apply to the content of the element.

(Унаследовано от TextElement) HasAnimatedProperties

Возвращает значение, указывающее, имеет ли экземпляр анимированные свойства. Gets a value that indicates whether this element has any animated properties.

(Унаследовано от ContentElement) InputBindings

Возвращает коллекцию привязок ввода, используемых этим элементом. Gets the collection of input bindings that are associated with this element.

(Унаследовано от ContentElement) InputScope

Получает или задает контекст для входных данных, используемых этим элементом FrameworkContentElement. Gets or sets the context for input used by this FrameworkContentElement.

(Унаследовано от FrameworkContentElement) IsEnabled

Возвращает или задает значение, указывающее, включен ли этот элемент в пользовательском интерфейсе. Gets or sets a value that indicates whether this element is enabled in the user interface (UI).

(Унаследовано от ContentElement) IsEnabledCore

Возвращает значение, которое становится возвращаемым значением свойства IsEnabled в производных классах. Gets a value that becomes the return value of IsEnabled in derived classes.

(Унаследовано от ContentElement) IsFocused

Получает значение, определяющее, имеет ли элемент логический фокус. Gets a value that determines whether this element has logical focus.

(Унаследовано от ContentElement) IsInitialized

Возвращает значение, указывающее, инициализирован ли этот элемент, либо путем его загрузки как XAML (XAML), либо путем явного EndInit() вызова метода. Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML), or by explicitly having its EndInit() method called.

(Унаследовано от FrameworkContentElement) IsInputMethodEnabled

Возвращает значение, указывающее, включена ли система метода ввода, например редактор метода ввода (IME), для обработки входных данных этого элемента. Gets a value that indicates whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element.

(Унаследовано от ContentElement) IsKeyboardFocused

Получает значение, указывающее, имеет ли данный элемент фокус клавиатуры. Gets a value that indicates whether this element has keyboard focus.

(Унаследовано от ContentElement) IsKeyboardFocusWithin

Возвращает значение, определяющее, находится ли клавиатурный фокус на элементе, или его дочерних элементах. Gets a value that indicates whether keyboard focus is anywhere within the element or child elements.

(Унаследовано от ContentElement) IsLoaded

Возвращает значение, указывающее, загружен ли данный элемент для презентации. Gets a value indicating whether this element has been loaded for presentation.

(Унаследовано от FrameworkContentElement) IsMouseCaptured

Возвращает значение, определяющее, захвачена ли мышь данным элементом. Gets a value that indicates whether the mouse is captured by this element.

(Унаследовано от ContentElement) IsMouseCaptureWithin

Получает значение, определяющее, удерживается ли захват мыши данным элементом или дочерними элементами в его дереве элементов. Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree.

(Унаследовано от ContentElement) IsMouseDirectlyOver

Возвращает значение, указывающее, соответствует ли позиция указателя мыши результатам проверки нажатия, при которой учитывается компоновка элемента. Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account.

(Унаследовано от ContentElement) IsMouseOver

Возвращает значение, определяющее, находится ли указатель мыши на элементе (включая видимые дочерние элементы и композицию элемента управления). Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing).

(Унаследовано от ContentElement) IsSealed

Получает значение, указывающее, является ли этот экземпляр в данный момент запечатанным (доступным только для чтения). Gets a value that indicates whether this instance is currently sealed (read-only).

(Унаследовано от DependencyObject) IsStylusCaptured

Получает значение, указывающее, захвачено ли перо в этом элементе управления. Gets a value that indicates whether the stylus is captured to this element.

(Унаследовано от ContentElement) IsStylusCaptureWithin

Возвращает значение, определяющее, захвачено ли перо этим элементом, включая его дочерние элементы и композицию элемента управления. Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing.

(Унаследовано от ContentElement) IsStylusDirectlyOver

Возвращает значение, указывающее, соответствует ли позиция пера результатам проверки нажатия, при которой учитывается компоновка элемента. Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account.

(Унаследовано от ContentElement) IsStylusOver

Возвращает значение, определяющее, находится ли перо на элементе (включая видимые дочерние элементы). Gets a value that indicates whether the stylus is located over this element (including visual child elements).

(Унаследовано от ContentElement) Language

Возвращает или задает сведения о языке локализации и глобализации, который применяется к отдельному элементу. Gets or sets localization/globalization language information that applies to an individual element.

(Унаследовано от FrameworkContentElement) LogicalChildren

Получение перечислителя, который может выполнить итерацию логических дочерних записей элемента. Gets an enumerator that can iterate the logical children of the element.

(Унаследовано от TextElement) Name

Возвращает или задает имя, обозначающее элемент. Gets or sets the identifying name of the element. Имя предоставляет ссылку на экземпляр, чтобы программный код программной части, такой как код обработчика событий, мог ссылаться на элемент после его создания во время синтаксического анализа XAML. The name provides an instance reference so that programmatic code-behind, such as event handler code, can refer to an element once it is constructed during parsing of XAML.

(Унаследовано от FrameworkContentElement) NextInline

Получает следующий элемент Inline, являющийся сайтом данного элемента. Gets the next Inline element that is a peer to this element.

(Унаследовано от Inline) OverridesDefaultStyle

Возвращает или задает значение, указывающее, содержит ли данный элемент свойства стиля из тематических стилей. Gets or sets a value indicating whether this element incorporates style properties from theme styles.

(Унаследовано от FrameworkContentElement) Parent

Возвращает родительский объект в логическом дереве для этого элемента. Gets the parent in the logical tree for this element.

(Унаследовано от FrameworkContentElement) PreviousInline

Получает предыдущий элемент Inline, являющийся узлом данного элемента. Gets the previous Inline element that is a peer to this element.

(Унаследовано от Inline) Resources

Возвращает или задает текущий локально определенный словарь ресурсов. Gets or sets the current locally-defined resource dictionary.

(Унаследовано от FrameworkContentElement) SiblingInlines

Получает InlineCollection, содержащий элементы Inline, являющиеся элементами одного уровня (узлами) данного элемента. Gets an InlineCollection that contains the Inline elements that are siblings (peers) to this element.

(Унаследовано от Inline) Style

Получает или задает стиль, который должен использоваться этим элементом. Gets or sets the style to be used by this element.

(Унаследовано от FrameworkContentElement) Tag

Получение или установка произвольного значения объекта, которое может использоваться для хранения особых сведений об этом элементе. Gets or sets an arbitrary object value that can be used to store custom information about this element.

(Унаследовано от FrameworkContentElement) TemplatedParent

Получает ссылку на родительский объект шаблона данного элемента. Gets a reference to the template parent of this element. Это свойство не актуально, если элемент не был создан с помощью шаблона. This property is not relevant if the element was not created through a template.

(Унаследовано от FrameworkContentElement) Text

Получает или задает неотформатированного содержимого данного текста Run. Gets or sets the unformatted text contents of this text Run.

Получает TextDecorationCollection, содержащий украшения текста для применения к данному элементу. Gets a TextDecorationCollection that contains text decorations to apply to this element.

(Унаследовано от Inline) TextEffects

Получает или задает коллекции текстовых эффектов, чтобы применить к содержимому элемента. Gets or sets a collection of text effects to apply to the content of the element.

(Унаследовано от TextElement) ToolTip

Возвращает или задает объект подсказки, отображаемый для этого элемента в пользовательском интерфейсе. Gets or sets the tool-tip object that is displayed for this element in the user interface (UI).

(Унаследовано от FrameworkContentElement) TouchesCaptured

Получает все сенсорные устройства, переданные в данный элемент. Gets all touch devices that are captured to this element.

(Унаследовано от ContentElement) TouchesCapturedWithin

Получает все сенсорные устройства, переданные в этот элемент или какой-либо из его дочерних элементов в визуальном дереве. Gets all touch devices that are captured to this element or any child elements in its visual tree.

(Унаследовано от ContentElement) TouchesDirectlyOver

Получает все сенсорные устройства, находящиеся над данным элементом. Gets all touch devices that are over this element.

(Унаследовано от ContentElement) TouchesOver

Получает все сенсорные устройства, находящиеся над этим элементом или каким-либо из его дочерних элементов в визуальном дереве. Gets all touch devices that are over this element or any child elements in its visual tree.

(Унаследовано от ContentElement) Typography

Получение действующих на данный момент вариантов оформления для содержимого элемента. Gets the currently effective typography variations for the content of the element.

(Унаследовано от TextElement)

Методы

Добавляет обработчик перенаправленного события для указанного перенаправленного события, помещая этот обработчик в коллекцию обработчиков текущего элемента. Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element.

(Унаследовано от ContentElement) 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. Укажите handledEventsToo как true , чтобы предоставленный обработчик вызывался для перенаправленного события, которое уже было отмечено как обработанное другим элементом на маршруте события. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route.

(Унаследовано от ContentElement) AddLogicalChild(Object)

Добавляет указанный элемент в качестве дочернего для данного элемента. Adds the provided element as a child of this element.

(Унаследовано от FrameworkContentElement) AddToEventRoute(EventRoute, RoutedEventArgs)

Добавляет обработчики в указанный EventRoute для настоящего коллекции обработчиков событий ContentElement. Adds handlers to the specified EventRoute for the current ContentElement event handler collection.

(Унаследовано от ContentElement) 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.

(Унаследовано от ContentElement) 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.

(Унаследовано от ContentElement) BeginAnimation(DependencyProperty, AnimationTimeline)

Запускает анимацию для указанного свойства данного элемента, имеющего анимацию. Starts an animation for a specified animated property on this element.

(Унаследовано от ContentElement) 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.

(Унаследовано от ContentElement) BeginInit()

Вызывается перед инициализацией элемента. Called before an element is initialized.

(Унаследовано от FrameworkContentElement) BeginStoryboard(Storyboard)

Начинает последовательность действий, содержащихся в предоставленной раскадровке. Begins the sequence of actions that are contained in the provided storyboard.

(Унаследовано от FrameworkContentElement) BeginStoryboard(Storyboard, HandoffBehavior)

Начинает последовательность действий, содержащихся в предоставленной раскадровке, с указанием действий, которые следует выполнить в случае уже анимированного свойства. Begins the sequence of actions that are contained in the provided storyboard, with options specified for what should occur if the property is already animated.

(Унаследовано от FrameworkContentElement) BeginStoryboard(Storyboard, HandoffBehavior, Boolean)

Начинает последовательность действий, содержащихся в предоставленной раскадровке, с указанным состоянием управления анимацией после ее запуска. Begins the sequence of actions that are contained in the provided storyboard, with specified state for control of the animation after it is started.

(Унаследовано от FrameworkContentElement) BringIntoView()

Пытается отобразить данный элемент вместе с содержащимися в нем прокручиваемыми областями. Attempts to bring this element into view, within any scrollable regions it is contained within.

(Унаследовано от FrameworkContentElement) CaptureMouse()

Пытается принудительно захватить мышь данным элементом. Attempts to force capture of the mouse to this element.

(Унаследовано от ContentElement) CaptureStylus()

Пытается принудительно захватить перо данным элементом. Attempts to force capture of the stylus to this element.

(Унаследовано от ContentElement) CaptureTouch(TouchDevice)

Предпринимает попытку принудительного получения операции сенсорного ввода данным элементом. Attempts to force capture of a touch to this element.

(Унаследовано от ContentElement) CheckAccess()

Определяет, имеет ли вызывающий поток доступ к этому DispatcherObject. Determines whether the calling thread has access to this DispatcherObject.

(Унаследовано от DispatcherObject) ClearValue(DependencyProperty)

Очищает локальное значение свойства. Clears the local value of a property. Очищаемое свойство задается идентификатором DependencyProperty. The property to be cleared is specified by a DependencyProperty identifier.

(Унаследовано от DependencyObject) ClearValue(DependencyPropertyKey)

Очищает локальное значение доступного только для чтения свойства. Clears the local value of a read-only property. Очищаемое свойство задается ключом DependencyPropertyKey. The property to be cleared is specified by a DependencyPropertyKey.

(Унаследовано от DependencyObject) CoerceValue(DependencyProperty)

Приводит значение указанного свойства зависимостей. Coerces the value of the specified dependency property. Это осуществляется путем вызова какой-либо функции CoerceValueCallback, указанной в метаданных свойства зависимостей, которое существует в вызывающем объекте DependencyObject. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject.

(Унаследовано от DependencyObject) EndInit()

Вызывается сразу после инициализации элемента. Called immediately after an element is initialized.

(Унаследовано от FrameworkContentElement) Equals(Object)

Определяет, является ли указанный DependencyObject эквивалентом текущего DependencyObject. Determines whether a provided DependencyObject is equivalent to the current DependencyObject.

(Унаследовано от DependencyObject) FindName(String)

Находит элемент по указанному имени идентификатора. Finds an element that has the provided identifier name.

(Унаследовано от FrameworkContentElement) FindResource(Object)

Ищет ресурс с указанным ключом и вызывает исключение, если запрошенный ресурс не удается найти. Searches for a resource with the specified key, and will throw an exception if the requested resource is not found.

(Унаследовано от FrameworkContentElement) Focus()

Попытка задать фокус для данного элемента. Attempts to set focus to this element.

(Унаследовано от ContentElement) GetAnimationBaseValue(DependencyProperty)

Возвращает значение базового свойства для указанного свойства данного элемента без учета возможного анимированного значения из запущенной или остановленной анимации. Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation.

(Унаследовано от ContentElement) GetBindingExpression(DependencyProperty)

Возвращает BindingExpression для привязки указанного свойства. Gets the BindingExpression for the specified property’s binding.

(Унаследовано от FrameworkContentElement) GetHashCode()

Возвращает хэш-код для данного объекта DependencyObject. Gets a hash code for this DependencyObject.

(Унаследовано от DependencyObject) GetLocalValueEnumerator()

Создает специализированный перечислитель для определения свойств зависимостей, которые локально установили значения для данного DependencyObject. Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject.

(Унаследовано от DependencyObject) GetType()

Возвращает объект Type для текущего экземпляра. Gets the Type of the current instance.

(Унаследовано от Object) GetUIParentCore()

Возвращает альтернативный логический родительский объект для этого элемента при отсутствии визуального родительского объекта. Returns an alternative logical parent for this element if there is no visual parent. В этом случае родительский объект FrameworkContentElement всегда имеет то же значение, что и свойство Parent . In this case, a FrameworkContentElement parent is always the same value as the Parent property.

(Унаследовано от FrameworkContentElement) GetValue(DependencyProperty)

Возвращает текущее действующее значение свойства зависимостей в этом экземпляре DependencyObject. Returns the current effective value of a dependency property on this instance of a DependencyObject.

(Унаследовано от DependencyObject) InvalidateProperty(DependencyProperty)

Повторно вычисляет действующее значение для указанного свойства зависимостей. Re-evaluates the effective value for the specified dependency property.

(Унаследовано от DependencyObject) MemberwiseClone()

Создает неполную копию текущего объекта Object. Creates a shallow copy of the current Object.

(Унаследовано от Object) MoveFocus(TraversalRequest)

Перемещает клавиатурный фокус с данного элемента на другой. Moves the keyboard focus from this element to another element.

(Унаследовано от FrameworkContentElement) OnContextMenuClosing(ContextMenuEventArgs)

Вызывается, когда перенаправленное событие ContextMenuClosing достигает этого класса на своем пути. Invoked whenever the ContextMenuClosing routed event reaches this class in its route. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от FrameworkContentElement) OnContextMenuOpening(ContextMenuEventArgs)

Вызывается, когда перенаправленное событие ContextMenuOpening достигает этого класса на своем пути. Invoked whenever the ContextMenuOpening routed event reaches this class in its route. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от FrameworkContentElement) OnCreateAutomationPeer()

Возвращает зависящие от классов реализации AutomationPeer для инфраструктуры Windows Presentation Foundation (WPF). Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

(Унаследовано от ContentElement) OnDragEnter(DragEventArgs)

Вызывается, когда необработанное вложенное событие DragEnter встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnDragLeave(DragEventArgs)

Вызывается, когда необработанное вложенное событие DragLeave встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled DragLeave attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnDragOver(DragEventArgs)

Вызывается, когда необработанное вложенное событие DragOver встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled DragOver attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnDrop(DragEventArgs)

Вызывается, когда необработанное вложенное событие DragEnter встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnGiveFeedback(GiveFeedbackEventArgs)

Вызывается, когда необработанное вложенное событие GiveFeedback встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled GiveFeedback attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnGotFocus(RoutedEventArgs)

Обработчик класса для события GotFocus. Class handler for the GotFocus event.

(Унаследовано от FrameworkContentElement) OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Вызывается, когда необработанное вложенное событие GotKeyboardFocus встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnGotMouseCapture(MouseEventArgs)

Вызывается, когда необработанное вложенное событие GotMouseCapture встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnGotStylusCapture(StylusEventArgs)

Вызывается, когда необработанное вложенное событие GotStylusCapture встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnGotTouchCapture(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события GotTouchCapture, которое происходит при захвате сенсорного ввода данным элементом. Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element.

(Унаследовано от ContentElement) OnInitialized(EventArgs)

Вызывает событие Initialized. Raises the Initialized event. Этот метод вызывается при каждой установке для свойства IsInitialized значения true . This method is invoked whenever IsInitialized is set to true .

(Унаследовано от FrameworkContentElement) OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs)

Вызывается, когда необработанное событие IsKeyboardFocusedChanged возникает для этого элемента. Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)

Вызывается непосредственно перед вызовом события IsKeyboardFocusWithinChanged данным элементом. Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs)

Вызывается, когда необработанное событие IsMouseCapturedChanged возникает для этого элемента. Invoked when an unhandled IsMouseCapturedChanged event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs)

Вызывается, когда необработанное событие IsMouseCaptureWithinChanged возникает для этого элемента. Invoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs)

Вызывается, когда необработанное событие IsMouseDirectlyOverChanged возникает для этого элемента. Invoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs)

Вызывается, когда необработанное событие IsStylusCapturedChanged возникает для этого элемента. Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs)

Вызывается, когда необработанное событие IsStylusCaptureWithinChanged возникает для этого элемента. Invoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs)

Вызывается, когда необработанное событие IsStylusDirectlyOverChanged возникает для этого элемента. Invoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnKeyDown(KeyEventArgs)

Вызывается, когда необработанное вложенное событие KeyDown встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled KeyDown attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnKeyUp(KeyEventArgs)

Вызывается, когда необработанное вложенное событие KeyUp встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled KeyUp attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnLostFocus(RoutedEventArgs)

Вызывает перенаправленное событие LostFocus с помощью предоставленных данных о событии. Raises the LostFocus routed event by using the event data that is provided.

(Унаследовано от ContentElement) OnLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Вызывается, когда необработанное вложенное событие LostKeyboardFocus встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled LostKeyboardFocus attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnLostMouseCapture(MouseEventArgs)

Вызывается, когда необработанное вложенное событие LostMouseCapture встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnLostStylusCapture(StylusEventArgs)

Вызывается, когда необработанное вложенное событие LostStylusCapture встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnLostTouchCapture(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события LostTouchCapture, которое происходит при потере захвата сенсорного ввода данным элементом. Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture.

(Унаследовано от ContentElement) OnMouseDown(MouseButtonEventArgs)

Вызывается, когда необработанное вложенное событие MouseDown встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled MouseDown attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnMouseEnter(MouseEventArgs)

Вызывается, когда необработанное присоединенное событие MouseEnter возникает для этого элемента. Invoked when an unhandled MouseEnter attached event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnMouseLeave(MouseEventArgs)

Вызывается, когда необработанное присоединенное событие MouseLeave возникает для этого элемента. Invoked when an unhandled MouseLeave attached event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnMouseLeftButtonDown(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие MouseLeftButtonDown возникает для этого элемента. Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnMouseLeftButtonUp(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие MouseLeftButtonUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnMouseMove(MouseEventArgs)

Вызывается, когда необработанное вложенное событие MouseMove встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled MouseMove attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnMouseRightButtonDown(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие MouseRightButtonDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnMouseRightButtonUp(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие MouseRightButtonUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnMouseUp(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие MouseUp встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled MouseUp routed event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnMouseWheel(MouseWheelEventArgs)

Вызывается, когда необработанное вложенное событие MouseWheel встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnPreviewDragEnter(DragEventArgs)

Вызывается, когда необработанное вложенное событие PreviewDragEnter встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewDragLeave(DragEventArgs)

Вызывается, когда необработанное вложенное событие PreviewDragLeave встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewDragOver(DragEventArgs)

Вызывается, когда необработанное вложенное событие PreviewDragOver встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewDrop(DragEventArgs)

Вызывается, когда необработанное вложенное событие PreviewDrop встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewGiveFeedback(GiveFeedbackEventArgs)

Вызывается, когда необработанное вложенное событие PreviewGiveFeedback встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Вызывается, когда необработанное вложенное событие PreviewGotKeyboardFocus встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewKeyDown(KeyEventArgs)

Вызывается, когда необработанное вложенное событие PreviewKeyDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewKeyUp(KeyEventArgs)

Вызывается, когда необработанное вложенное событие PreviewKeyUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs)

Вызывается, когда необработанное вложенное событие PreviewKeyDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseDown(MouseButtonEventArgs)

Вызывается, когда необработанное присоединенное перенаправленное событие PreviewMouseDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие PreviewMouseLeftButtonDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие PreviewMouseLeftButtonUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseMove(MouseEventArgs)

Вызывается, когда необработанное вложенное событие PreviewMouseMove встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseRightButtonDown(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие PreviewMouseRightButtonDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseRightButtonUp(MouseButtonEventArgs)

Вызывается, когда необработанное перенаправленное событие PreviewMouseRightButtonUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseUp(MouseButtonEventArgs)

Вызывается, когда необработанное вложенное событие PreviewMouseUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewMouseWheel(MouseWheelEventArgs)

Вызывается, когда необработанное вложенное событие PreviewMouseWheel встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewQueryContinueDrag(QueryContinueDragEventArgs)

Вызывается, когда необработанное вложенное событие PreviewQueryContinueDrag встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusButtonDown(StylusButtonEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusButtonDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusButtonUp(StylusButtonEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusButtonUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusDown(StylusDownEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusInAirMove(StylusEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusInAirMove встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusInRange(StylusEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusInRange встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusMove(StylusEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusMove встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusOutOfRange(StylusEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusOutOfRange встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusSystemGesture встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewStylusUp(StylusEventArgs)

Вызывается, когда необработанное вложенное событие PreviewStylusUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewTextInput(TextCompositionEventArgs)

Вызывается, когда необработанное вложенное событие PreviewTextInput встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnPreviewTouchDown(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события PreviewTouchDown, которое происходит при сенсорном нажатии данного элемента. Provides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element.

(Унаследовано от ContentElement) OnPreviewTouchMove(TouchEventArgs)

Предоставляет обработку класса для маршрутизируемого события PreviewTouchMove, которое происходит при перемещении касания внутри этого элемента. Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element.

(Унаследовано от ContentElement) OnPreviewTouchUp(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события PreviewTouchUp, которое происходит при прекращении сенсорного нажатия внутри элемента. Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element.

(Унаследовано от ContentElement) OnPropertyChanged(DependencyPropertyChangedEventArgs)

Обработка уведомлений о том, что в одном или нескольких свойствах зависимости, существующих в элементе, были изменены существующие значения. Handles notifications that one or more of the dependency properties that exist on the element have had their effective values changed.

(Унаследовано от TextElement) OnQueryContinueDrag(QueryContinueDragEventArgs)

Вызывается, когда необработанное вложенное событие QueryContinueDrag встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled QueryContinueDrag attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnQueryCursor(QueryCursorEventArgs)

Вызывается, когда необработанное вложенное событие QueryCursor встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled QueryCursor attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnStyleChanged(Style, Style)

Вызывается при изменении стиля, используемого для данного элемента. Invoked when the style that is in use on this element changes.

(Унаследовано от FrameworkContentElement) OnStylusButtonDown(StylusButtonEventArgs)

Вызывается, когда необработанное вложенное событие StylusButtonDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusButtonUp(StylusButtonEventArgs)

Вызывается, когда необработанное вложенное событие StylusButtonUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusDown(StylusDownEventArgs)

Вызывается, когда необработанное вложенное событие StylusDown встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusEnter(StylusEventArgs)

Вызывается, когда необработанное вложенное событие StylusEnter вызывается этим элементом. Invoked when an unhandled StylusEnter attached event is raised by this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnStylusInAirMove(StylusEventArgs)

Вызывается, когда необработанное вложенное событие StylusInAirMove встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusInRange(StylusEventArgs)

Вызывается, когда необработанное вложенное событие StylusInRange встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusLeave(StylusEventArgs)

Вызывается, когда необработанное вложенное событие StylusLeave вызывается этим элементом. Invoked when an unhandled StylusLeave attached event is raised by this element. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnStylusMove(StylusEventArgs)

Вызывается, когда необработанное вложенное событие StylusMove встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusOutOfRange(StylusEventArgs)

Вызывается, когда необработанное вложенное событие StylusOutOfRange встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusSystemGesture(StylusSystemGestureEventArgs)

Вызывается, когда необработанное вложенное событие StylusSystemGesture встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnStylusUp(StylusEventArgs)

Вызывается, когда необработанное вложенное событие StylusUp встречает на своем маршруте элемент, производный от этого класса. Invoked 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.

(Унаследовано от ContentElement) OnTextInput(TextCompositionEventArgs)

Вызывается, когда необработанное вложенное событие TextInput встречает на своем маршруте элемент, производный от этого класса. Invoked when an unhandled TextInput attached event reaches an element in its route that is derived from this class. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от ContentElement) OnToolTipClosing(ToolTipEventArgs)

Вызывается, когда перенаправленное событие ToolTipClosing достигает этого класса на своем пути. Invoked whenever the ToolTipClosing routed event reaches this class in its route. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от FrameworkContentElement) OnToolTipOpening(ToolTipEventArgs)

Вызывается, когда перенаправленное событие ToolTipOpening достигает этого класса на своем пути. Invoked whenever the ToolTipOpening routed event reaches this class in its route. Реализуйте этот метод, чтобы добавить для класса обработчик данного события. Implement this method to add class handling for this event.

(Унаследовано от FrameworkContentElement) OnTouchDown(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события TouchDown, которое происходит при сенсорном нажатии внутри данного элемента. Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element.

(Унаследовано от ContentElement) OnTouchEnter(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события TouchEnter, которое происходит при сенсорном перемещении внутрь данного элемента. Provides class handling for the TouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element.

(Унаследовано от ContentElement) OnTouchLeave(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события TouchLeave, которое происходит при сенсорном перемещении за границы данного элемента. Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this element.

(Унаследовано от ContentElement) OnTouchMove(TouchEventArgs)

Предоставляет обработку класса для маршрутизируемого события TouchMove, которое происходит при перемещении касания внутри этого элемента. Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element.

(Унаследовано от ContentElement) OnTouchUp(TouchEventArgs)

Предоставляет обработку класса для перенаправленного события TouchUp, которое происходит при прекращении сенсорного нажатия внутри элемента. Provides class handling for the TouchUp routed event that occurs when a touch is released inside this element.

(Унаследовано от ContentElement) PredictFocus(FocusNavigationDirection)

Определяет следующий элемент, который получит фокус, относительно данного элемента для указанного направления движения фокуса, но реально фокус не перемещает. Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. Данный метод запечатан и не может быть переопределен. This method is sealed and cannot be overridden.

(Унаследовано от FrameworkContentElement) RaiseEvent(RoutedEventArgs)

Инициирует определенное перенаправленное событие. Raises a specific routed event. Инициируемое событие RoutedEvent указывается в предоставленном экземпляре RoutedEventArgs (как свойство RoutedEvent данных этого события). The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data).

(Унаследовано от ContentElement) ReadLocalValue(DependencyProperty)

Возвращает локальное значение свойства зависимостей, если таковое существует. Returns the local value of a dependency property, if it exists.

(Унаследовано от DependencyObject) RegisterName(String, Object)

Предоставляет метод доступа, упрощающий доступ к методу регистрации NameScope. Provides an accessor that simplifies access to the NameScope registration method.

(Унаследовано от FrameworkContentElement) ReleaseAllTouchCaptures()

Освобождает все полученные сенсорные устройства для данного элемента. Releases all captured touch devices from this element.

(Унаследовано от ContentElement) ReleaseMouseCapture()

Освобождает мышь, если элемент произвел ее захват. Releases the mouse capture, if this element held the capture.

(Унаследовано от ContentElement) ReleaseStylusCapture()

Освобождает перо, если элемент произвел его захват. Releases the stylus device capture, if this element held the capture.

(Унаследовано от ContentElement) ReleaseTouchCapture(TouchDevice)

Предпринимает попытку освободить заданное сенсорное устройство из этого элемента. Attempts to release the specified touch device from this element.

(Унаследовано от ContentElement) RemoveHandler(RoutedEvent, Delegate)

Удаляет указанный обработчик маршрутизируемого события из этого элемента. Removes the specified routed event handler from this element.

(Унаследовано от ContentElement) RemoveLogicalChild(Object)

Удаляет указанный элемент из логического дерева данного элемента. Removes the specified element from the logical tree for this element.

(Унаследовано от FrameworkContentElement) SetBinding(DependencyProperty, BindingBase)

Прикрепляет привязку к данному элементу на основе предоставленной привязки объекта. Attaches a binding to this element, based on the provided binding object.

(Унаследовано от FrameworkContentElement) SetBinding(DependencyProperty, String)

Прикрепляет привязку к данному элементу на основе указанного имени исходного свойства в виде классификационного пути к источнику данных. Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.

(Унаследовано от FrameworkContentElement) SetCurrentValue(DependencyProperty, Object)

Задает значение свойства зависимостей, не меняя источник значения. Sets the value of a dependency property without changing its value source.

(Унаследовано от DependencyObject) SetResourceReference(DependencyProperty, Object)

Выполняет поиск ресурса по указанному имени и устанавливает ссылку на этот ресурс для указанного свойства. Searches for a resource with the specified name and sets up a resource reference to it for the specified property.

(Унаследовано от FrameworkContentElement) SetValue(DependencyProperty, Object)

Задает локальное значение свойства зависимостей, указанного идентификатором этого свойства. Sets the local value of a dependency property, specified by its dependency property identifier.

(Унаследовано от DependencyObject) SetValue(DependencyPropertyKey, Object)

Задает локальное значение свойства зависимости только для чтения, определяемое идентификатором DependencyPropertyKey свойства зависимостей. Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property.

(Унаследовано от DependencyObject) ShouldSerializeCommandBindings()

Возвращает логическое значение, указывающее, следует ли процессам сериализации сериализировать содержимое свойства CommandBindings в экземплярах данного класса. Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class.

(Унаследовано от ContentElement) ShouldSerializeInputBindings()

Возвращает логическое значение, указывающее, следует ли процессам сериализации сериализировать содержимое свойства InputBindings в экземплярах данного класса. Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class.

(Унаследовано от ContentElement) ShouldSerializeProperty(DependencyProperty)

Возвращает значение, которое указывает, следует ли процессам сериализации выполнять сериализацию значения для предоставленного свойства зависимостей. Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property.

(Унаследовано от DependencyObject) ShouldSerializeResources()

Возвращает логическое значение, указывающее, следует ли процессам сериализации сериализировать содержимое свойства Resources в экземплярах данного класса. Returns whether serialization processes should serialize the contents of the Resources property on instances of this class.

(Унаследовано от FrameworkContentElement) ShouldSerializeStyle()

Возвращает логическое значение, указывающее, следует ли процессам сериализации сериализировать содержимое свойства Style в экземплярах данного класса. Returns whether serialization processes should serialize the contents of the Style property on instances of this class.

(Унаследовано от FrameworkContentElement) ShouldSerializeText(XamlDesignerSerializationManager)

Возвращает значение, показывающее, должно ли быть сериализовано действительное значение свойства Text в процессе сериализации объекта Run. Returns a value that indicates whether or not the effective value of the Text property should be serialized during serialization of a Run object.

Возвращает строку, представляющую текущий объект. Returns a string that represents the current object.

(Унаследовано от Object) TryFindResource(Object)

Ищет ресурс с указанным ключом и возвращает его, если он найден. Searches for a resource with the specified key, and returns that resource if found.

(Унаследовано от FrameworkContentElement) UnregisterName(String)

Упрощает доступ к методу отмены регистрации NameScope. Simplifies access to the NameScope de-registration method.

(Унаследовано от FrameworkContentElement) UpdateDefaultStyle()

Повторно применяет стиль по умолчанию к текущему объекту FrameworkContentElement. Reapplies the default style to the current FrameworkContentElement.

(Унаследовано от FrameworkContentElement) VerifyAccess()

Обеспечивает наличие у вызывающего потока доступ к этому DispatcherObject. Enforces that the calling thread has access to this DispatcherObject.

(Унаследовано от DispatcherObject)

События

Происходит непосредственно перед закрытием какого-либо контекстного меню в элементе. Occurs just before any context menu on the element is closed.

(Унаследовано от FrameworkContentElement) ContextMenuOpening

Происходит при открытии какого-либо контекстного меню в элементе. Occurs when any context menu on the element is opened.

(Унаследовано от FrameworkContentElement) DataContextChanged

Происходит при изменении контекста данных настоящего элемента. Occurs when this element’s data context changes.

(Унаследовано от FrameworkContentElement) DragEnter

Возникает, когда система ввода сообщает о соответствующем событии перетаскивания, имеющем в качестве источника перетаскивания этот элемент. Occurs when the input system reports an underlying drag event with this element as the drag target.

(Унаследовано от ContentElement) DragLeave

Возникает, когда система ввода сообщает о соответствующем событии перетаскивания, имеющем в качестве источника перетаскивания этот элемент. Occurs when the input system reports an underlying drag event with this element as the drag origin.

(Унаследовано от ContentElement) DragOver

Происходит, когда подсистема ввода сообщает о соответствующем событии перетаскивания, имеющем в качестве потенциальной цели данный элемент. Occurs when the input system reports an underlying drag event with this element as the potential drop target.

(Унаследовано от ContentElement) Drop

Происходит, когда система ввода сообщает о базовом событии удаления с этим элементом в качестве цели удаления. Occurs when the input system reports an underlying drop event with this element as the drop target.

(Унаследовано от ContentElement) FocusableChanged

Происходит при изменении значения свойства Focusable. Occurs when the value of the Focusable property changes.

(Унаследовано от ContentElement) GiveFeedback

Происходит, когда подсистема ввода сообщает о соответствующем событии перетаскивания, в котором участвует данный элемент. Occurs when the input system reports an underlying drag-and-drop event that involves this element.

(Унаследовано от ContentElement) GotFocus

Происходит при получении данным элементом логического фокуса. Occurs when this element gets logical focus.

(Унаследовано от ContentElement) GotKeyboardFocus

Происходит при получении данным элементом фокуса ввода с клавиатуры. Occurs when the keyboard is focused on this element.

(Унаследовано от ContentElement) GotMouseCapture

Происходит при захвате мыши данным элементом. Occurs when this element captures the mouse.

(Унаследовано от ContentElement) GotStylusCapture

Происходит при захвате пера данным элементом. Occurs when this element captures the stylus.

(Унаследовано от ContentElement) GotTouchCapture

Происходит при получении данным элементом операции сенсорного ввода. Occurs when a touch is captured to this element.

(Унаследовано от ContentElement) Initialized

Происходит во время инициализации данного FrameworkContentElement. Occurs when this FrameworkContentElement is initialized. Это совпадает со случаями, когда значение свойства IsInitialized меняется с false (или неопределенного) на true . This coincides with cases where the value of the IsInitialized property changes from false (or undefined) to true .

(Унаследовано от FrameworkContentElement) IsEnabledChanged

Происходит при изменении значения свойства IsEnabled данного элемента. Occurs when the value of the IsEnabled property on this element changes.

(Унаследовано от ContentElement) IsKeyboardFocusedChanged

Происходит при изменении значения свойства IsKeyboardFocused данного элемента. Occurs when the value of the IsKeyboardFocused property changes on this element.

(Унаследовано от ContentElement) IsKeyboardFocusWithinChanged

Происходит при изменении значения свойства IsKeyboardFocusWithinChanged данного элемента. Occurs when the value of the IsKeyboardFocusWithinChanged property changes on this element.

(Унаследовано от ContentElement) IsMouseCapturedChanged

Происходит при изменении значения свойства IsMouseCaptured данного элемента. Occurs when the value of the IsMouseCaptured property changes on this element.

(Унаследовано от ContentElement) IsMouseCaptureWithinChanged

Происходит при изменении значения поля IsMouseCaptureWithinProperty данного элемента. Occurs when the value of the IsMouseCaptureWithinProperty changes on this element.

(Унаследовано от ContentElement) IsMouseDirectlyOverChanged

Происходит при изменении значения свойства IsMouseDirectlyOver данного элемента. Occurs when the value of the IsMouseDirectlyOver property changes on this element.

(Унаследовано от ContentElement) IsStylusCapturedChanged

Происходит при изменении значения свойства IsStylusCaptured данного элемента. Occurs when the value of the IsStylusCaptured property changes on this element.

(Унаследовано от ContentElement) IsStylusCaptureWithinChanged

Происходит при изменении значения свойства IsStylusCaptureWithin данного элемента. Occurs when the value of the IsStylusCaptureWithin property changes on this element.

(Унаследовано от ContentElement) IsStylusDirectlyOverChanged

Происходит при изменении значения свойства IsStylusDirectlyOver данного элемента. Occurs when the value of the IsStylusDirectlyOver property changes on this element.

(Унаследовано от ContentElement) KeyDown

Возникает при нажатии клавиши, если фокус установлен на данном элементе. Occurs when a key is pressed while focus is on this element.

(Унаследовано от ContentElement) KeyUp

Происходит при отпускании клавиши, если фокус находится на этом элементе. Occurs when a key is released while focus is on this element.

(Унаследовано от ContentElement) Loaded

Происходит, если элемент размещен, отрисован и готов к взаимодействию. Occurs when the element is laid out, rendered, and ready for interaction.

(Унаследовано от FrameworkContentElement) LostFocus

Происходит при потере данным элементом логического фокуса. Occurs when this element loses logical focus.

(Унаследовано от ContentElement) LostKeyboardFocus

Происходит при потере данным элементом фокуса ввода с клавиатуры. Occurs when the keyboard is no longer focused on this element.

(Унаследовано от ContentElement) LostMouseCapture

Происходит при потере элементом захвата мыши. Occurs when this element loses mouse capture.

(Унаследовано от ContentElement) LostStylusCapture

Происходит при потере элементом захвата пера. Occurs when this element loses stylus capture.

(Унаследовано от ContentElement) LostTouchCapture

Происходит, когда элемент теряет касание. Occurs when this element loses a touch capture.

(Унаследовано от ContentElement) MouseDown

Происходит при нажатии любой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when any mouse button is pressed while the pointer is over this element.

(Унаследовано от ContentElement) MouseEnter

Происходит, когда указатель мыши попадает внутрь границ данного элемента. Occurs when the mouse pointer enters the bounds of this element.

(Унаследовано от ContentElement) MouseLeave

Происходит, когда указатель мыши покидает границы данного элемента. Occurs when the mouse pointer leaves the bounds of this element.

(Унаследовано от ContentElement) MouseLeftButtonDown

Происходит при нажатии левой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the left mouse button is pressed while the mouse pointer is over this element.

(Унаследовано от ContentElement) MouseLeftButtonUp

Происходит при отпускании левой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the left mouse button is released while the mouse pointer is over this element.

(Унаследовано от ContentElement) MouseMove

Происходит при перемещении указателя мыши над данным элементом. Occurs when the mouse pointer moves while over this element.

(Унаследовано от ContentElement) MouseRightButtonDown

Происходит при нажатии правой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the right mouse button is pressed while the mouse pointer is over this element.

(Унаследовано от ContentElement) MouseRightButtonUp

Происходит при отпускании правой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the right mouse button is released while the mouse pointer is over this element.

(Унаследовано от ContentElement) MouseUp

Происходит при отпускании любой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when any mouse button is released over this element.

(Унаследовано от ContentElement) MouseWheel

Происходит при вращении колесика мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewDragEnter

Возникает, когда система ввода сообщает о соответствующем событии перетаскивания, имеющем в качестве источника перетаскивания этот элемент. Occurs when the input system reports an underlying drag event with this element as the drag target.

(Унаследовано от ContentElement) PreviewDragLeave

Возникает, когда система ввода сообщает о соответствующем событии перетаскивания, имеющем в качестве источника перетаскивания этот элемент. Occurs when the input system reports an underlying drag event with this element as the drag origin.

(Унаследовано от ContentElement) PreviewDragOver

Происходит, когда подсистема ввода сообщает о соответствующем событии перетаскивания, имеющем в качестве потенциальной цели данный элемент. Occurs when the input system reports an underlying drag event with this element as the potential drop target.

(Унаследовано от ContentElement) PreviewDrop

Происходит, когда система ввода сообщает о базовом событии удаления с этим элементом в качестве цели удаления. Occurs when the input system reports an underlying drop event with this element as the drop target.

(Унаследовано от ContentElement) PreviewGiveFeedback

Происходит при начале операции перетаскивания. Occurs when a drag-and-drop operation is started.

(Унаследовано от ContentElement) PreviewGotKeyboardFocus

Происходит при получении данным элементом фокуса ввода с клавиатуры. Occurs when the keyboard is focused on this element.

(Унаследовано от ContentElement) PreviewKeyDown

Происходит при нажатии клавиши, если фокус ввода с клавиатуры находится на данном элементе. Occurs when a key is pressed while the keyboard is focused on this element.

(Унаследовано от ContentElement) PreviewKeyUp

Происходит при отпускании клавиши, если фокус ввода с клавиатуры находится на данном элементе. Occurs when a key is released while the keyboard is focused on this element.

(Унаследовано от ContentElement) PreviewLostKeyboardFocus

Происходит при потере данным элементом фокуса ввода с клавиатуры. Occurs when the keyboard is no longer focused on this element.

(Унаследовано от ContentElement) PreviewMouseDown

Происходит при нажатии любой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when any mouse button is pressed while the pointer is over this element.

(Унаследовано от ContentElement) PreviewMouseLeftButtonDown

Происходит при нажатии левой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the left mouse button is pressed while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewMouseLeftButtonUp

Происходит при отпускании левой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the left mouse button is released while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewMouseMove

Происходит при перемещении указателя мыши, когда он находится над данным элементом. Occurs when the mouse pointer moves while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewMouseRightButtonDown

Происходит при нажатии правой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the right mouse button is pressed while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewMouseRightButtonUp

Происходит при отпускании правой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the right mouse button is released while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewMouseUp

Происходит при отпускании любой кнопки мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when any mouse button is released while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewMouseWheel

Происходит при вращении колесика мыши в тот момент, когда указатель мыши находится над данным элементом. Occurs when the user rotates the mouse wheel while the mouse pointer is over this element.

(Унаследовано от ContentElement) PreviewQueryContinueDrag

Происходит, когда состояние клавиши или кнопки мыши изменяется в ходе операции перетаскивания. Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

(Унаследовано от ContentElement) PreviewStylusButtonDown

Происходит при нажатии кнопки пера в тот момент, когда указатель находится над данным элементом. Occurs when the stylus button is pressed while the pointer is over this element.

(Унаследовано от ContentElement) PreviewStylusButtonUp

Происходит при отпускании кнопки пера в тот момент, когда указатель находится над данным элементом. Occurs when the stylus button is released while the pointer is over this element.

(Унаследовано от ContentElement) PreviewStylusDown

Происходит при касании дигитайзера пером в тот момент, когда оно находится над данным элементом. Occurs when the stylus touches the digitizer while it is over this element.

(Унаследовано от ContentElement) PreviewStylusInAirMove

Происходит при движении пера над элементом без касания дигитайзера. Occurs when the stylus moves over an element without actually touching the digitizer.

(Унаследовано от ContentElement) PreviewStylusInRange

Происходит при нахождении пера над данным элементом достаточно близко для того, чтобы перо было обнаружено дигитайзером. Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

(Унаследовано от ContentElement) PreviewStylusMove

Происходит при перемещении пера над элементом. Occurs when the stylus moves while over the element. Для вызова этого события перемещаемое перо должно быть обнаружено дигитайзером; в противном случае вызывается PreviewStylusInAirMove. The stylus must move while being detected by the digitizer to raise this event, otherwise, PreviewStylusInAirMove is raised instead.

(Унаследовано от ContentElement) PreviewStylusOutOfRange

Происходит, когда перо находится слишком далеко от дигитайзера, чтобы быть обнаруженным. Occurs when the stylus is too far from the digitizer to be detected.

(Унаследовано от ContentElement) PreviewStylusSystemGesture

Происходит при использовании пользователем одного из жестов пером. Occurs when a user performs one of several stylus gestures.

(Унаследовано от ContentElement) PreviewStylusUp

Происходит, когда пользователь отрывает перо от поверхности дигитайзера в тот момент, когда оно находится над этим элементом. Occurs when the user raises the stylus off the digitizer while the stylus is over this element.

(Унаследовано от ContentElement) PreviewTextInput

Происходит при получении этим элементом текста аппаратно-независимым способом. Occurs when this element gets text in a device-independent manner.

(Унаследовано от ContentElement) PreviewTouchDown

Происходит при касании пальцем экрана, когда палец находится над данным элементом. Occurs when a finger touches the screen while the finger is over this element.

(Унаследовано от ContentElement) PreviewTouchMove

Возникает при перемещении пальца по экрану при условии, если палец находится над данным элементом. Occurs when a finger moves on the screen while the finger is over this element.

(Унаследовано от ContentElement) PreviewTouchUp

Возникает, когда палец отрывается от экрана при условии, что палец находится над этим элементом. Occurs when a finger is raised off of the screen while the finger is over this element.

(Унаследовано от ContentElement) QueryContinueDrag

Происходит, когда состояние клавиши или кнопки мыши изменяется в ходе операции перетаскивания. Occurs when there is a change in the keyboard or mouse button state during a drag-and-drop operation.

(Унаследовано от ContentElement) QueryCursor

Происходит при запросе отображения курсора. Occurs 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.

(Унаследовано от ContentElement) SourceUpdated

Происходит при изменении какого-либо связанного источника данных, участвующего в привязке к данному элементу. Occurs when any associated data source participating in a binding on this element changes.

(Унаследовано от FrameworkContentElement) StylusButtonDown

Происходит при нажатии кнопки пера в тот момент, когда указатель находится над данным элементом. Occurs when the stylus button is pressed while the pointer is over this element.

(Унаследовано от ContentElement) StylusButtonUp

Происходит при отпускании кнопки пера в тот момент, когда указатель находится над данным элементом. Occurs when the stylus button is released while the pointer is over this element.

(Унаследовано от ContentElement) StylusDown

Происходит при касании дигитайзера пером в тот момент, когда оно находится над данным элементом. Occurs when the stylus touches the digitizer while the stylus is over this element.

(Унаследовано от ContentElement) StylusEnter

Происходит, когда перо попадает внутрь границ данного элемента. Occurs when the stylus enters the bounds of this element.

(Унаследовано от ContentElement) StylusInAirMove

Происходит при движении пера над элементом без касания дигитайзера. Occurs when the stylus moves over an element without actually touching the digitizer.

(Унаследовано от ContentElement) StylusInRange

Происходит при нахождении пера над данным элементом достаточно близко для того, чтобы перо было обнаружено дигитайзером. Occurs when the stylus is close enough to the digitizer to be detected, while over this element.

(Унаследовано от ContentElement) StylusLeave

Происходит, когда перо покидает границы элемента. Occurs when the stylus leaves the bounds of the element.

(Унаследовано от ContentElement) StylusMove

Происходит при движении пера над данным элементом. Occurs when the stylus moves over this element. Для вызова этого события перо должно перемещаться по дигитайзеру. The stylus must move while on the digitizer to raise this event. В противном случае вызывается событие StylusInAirMove. Otherwise, StylusInAirMove is raised instead.

(Унаследовано от ContentElement) StylusOutOfRange

Возникает, когда расстояние между пером и дигитайзером слишком велико для обнаружения пера при условии, что перо находится над этим элементом. Occurs when the stylus is too far from the digitizer to be detected, while over this element.

(Унаследовано от ContentElement) StylusSystemGesture

Происходит при использовании пользователем одного из жестов пером. Occurs when a user performs one of several stylus gestures.

(Унаследовано от ContentElement) StylusUp

Происходит, когда пользователь отрывает перо от поверхности дигитайзера в тот момент, когда оно находится над этим элементом. Occurs when the user raises the stylus off the digitizer while it is over this element.

(Унаследовано от ContentElement) TargetUpdated

Происходит при изменении любого связанного целевого свойства, участвующего в привязке в этом элементе. Occurs when any associated target property participating in a binding on this element changes.

(Унаследовано от FrameworkContentElement) TextInput

Происходит при получении этим элементом текста аппаратно-независимым способом. Occurs when this element gets text in a device-independent manner.

(Унаследовано от ContentElement) ToolTipClosing

Происходит непосредственно перед закрытием какой-либо подсказки в элементе. Occurs just before any tooltip on the element is closed.

(Унаследовано от FrameworkContentElement) ToolTipOpening

Происходит при открытии любой всплывающей подсказки к элементу. Occurs when any tooltip on the element is opened.

(Унаследовано от FrameworkContentElement) TouchDown

Происходит при касании пальцем экрана, когда палец находится над данным элементом. Occurs when a finger touches the screen while the finger is over this element.

(Унаследовано от ContentElement) TouchEnter

Происходит при перемещении касания внутрь данного элемента. Occurs when a touch moves from outside to inside the bounds of this element.

(Унаследовано от ContentElement) TouchLeave

Происходит при перемещении касания за границы элемента. Occurs when a touch moves from inside to outside the bounds of this element.

(Унаследовано от ContentElement) TouchMove

Возникает при перемещении пальца по экрану при условии, если палец находится над данным элементом. Occurs when a finger moves on the screen while the finger is over this element.

(Унаследовано от ContentElement) TouchUp

Возникает, когда палец отрывается от экрана при условии, что палец находится над этим элементом. Occurs when a finger is raised off of the screen while the finger is over this element.

(Унаследовано от ContentElement) Unloaded

Происходит при удалении элемента из дерева загруженных элементов. Occurs when the element is removed from an element tree of loaded elements.

(Унаследовано от FrameworkContentElement)

Явные реализации интерфейса

Добавляет дочерний объект. Adds a child object.

(Унаследовано от TextElement) IAddChild.AddText(String)

Добавляет к объекту текстовое содержимое узла. Adds the text content of a node to the object.

(Унаследовано от TextElement) IQueryAmbient.IsAmbientPropertyAvailable(String)

Описание этого элемента содержится в методе IsAmbientPropertyAvailable(String). For a description of this member, see the IsAmbientPropertyAvailable(String) method.

Читайте также:  Atol usb driver для windows 10
Оцените статью