Windows forms text input

Ввод данных пользователем в Windows Forms User Input in Windows Forms

В Windows Forms включена модель ввода пользователя, основанная на событиях, которые возникают во время обработки соответствующих сообщений Windows. Windows Forms includes a user input model based on events that are raised while processing related Windows messages. Здесь приведены ссылки на разделы с информацией о вводе с помощью мыши и клавиатуры, включая примеры кода, демонстрирующие выполнение определенных задач. The topics in this section provide information on mouse and keyboard user input, including code examples that demonstrate how to perform specific tasks.

в этом разделе In This Section

Ввод данных пользователем в приложении Windows Forms User Input in a Windows Forms Application
Содержит обзор событий пользовательского ввода и методов, которые обрабатывают сообщения Windows. Provides an overview of user input events and the methods that process Windows messages.

Ввод с клавиатуры в приложении Windows Forms Keyboard Input in a Windows Forms Application
Содержит сведения об обработке сообщений клавиатуры, различных типах клавиш и событиях клавиатуры. Provides information on keyboard message handling, the different types of keys, and the keyboard events.

Ввод данных мышью в приложении Windows Forms Mouse Input in a Windows Forms Application
Содержит сведения о событиях мыши и других связанных с мышью возможностях, включая курсоры и отслеживание перемещения мыши. Provides information on the mouse events and other mouse-related features, including mouse cursors and mouse capture.

Практическое руководство. Имитация событий мыши и клавиатуры в коде How to: Simulate Mouse and Keyboard Events in Code
Показано несколько различных способов программной имитации ввода с помощью мыши и клавиатуры. Demonstrates several different ways to programmatically simulate mouse and keyboard input.

Практическое руководство. Обработка событий пользовательского ввода в элементах управления Windows Forms How to: Handle User Input Events in Windows Forms Controls
Пример кода, который обрабатывает большую часть событий пользовательского ввода и сообщает сведения о каждом событии. Presents a code example that handles most user input events and reports information about each event.

Проверка введенных пользователем данных в Windows Forms User Input Validation in Windows Forms
Описываются методы проверки пользовательского ввода в приложениях Windows Forms. Describes the methods to validate user input in Windows Forms applications.

UIElement. Text Input Событие

Определение

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

Тип события

Реализации

Комментарии

Это событие может уже быть помечено как обработанное внутренними реализациями составных элементов управления. This event might already be marked as handled by the internal implementations of composited controls. См. Примечание ниже. See Remark below.

TextInputСобытие может уже быть помечено как обработанное внутренними реализациями составных элементов управления. The TextInput event may already be marked as handled by the internal implementations of composited controls. Например, представляет собой TextBox составной элемент управления, в котором TextInput событие уже помечено как обработанное; в его композиции. For example, a TextBox is a composited control where the TextInput event is already marked as handled; within its compositing. Это делается потому, что элемент управления должен интерпретировать некоторые типы входных данных, например клавиши со стрелками, которые имеют специальное значение для этого элемента управления. Controls do this because the control needs to interpret some types of input, such as arrow keys, as having special meaning to that control. Если вы используете PreviewTextInput в качестве события, когда вы подключаете обработчики для ввода текста, вы можете получить лучшие результаты. If you use PreviewTextInput as the event where you attach handlers for text input, you may receive better results. Этот метод обходит большинство случаев, когда композиция элементов управления уже пометила это событие как обработанное и не дает обработчику получать событие в маршруте события. This technique circumvents most cases where control composition has already marked this event as handled and prevents your handler from receiving the event along the event route.

Это TextInput событие позволяет компоненту или приложению ожидать ввода текста независимым от устройства образом. The TextInput event allows a component or application to listen for text input in a device-independent manner. Клавиатура является основным средством TextInput , но также может вызываться распознавание речи, рукописного текста и другие устройства ввода TextInput . The keyboard is the primary means of TextInput, but speech, handwriting, and other input devices can also raise TextInput.

Из-за сочетаний клавиш — либо на клавиатуре по умолчанию, либо с помощью редакторов методов ввода. несколько ключевых событий могут вызывать только одно событие текстового ввода. Because of key combinations — either in default keyboards or through input method editors — multiple key events might raise just one text input event.

Это событие создает псевдоним для TextCompositionManager.TextInput присоединенного события для этого класса, так что TextInput является частью списка членов класса, если UIElement наследуется как базовый элемент. This event creates an alias for the TextCompositionManager.TextInput attached event for this class, so that TextInput is part of the class members list when UIElement is inherited as a base element. Обработчики событий, присоединенные к TextInput событию, присоединяются к базовому TextCompositionManager.TextInput присоединенному событию и получают тот же экземпляр данных события. Event handlers that are attached to the TextInput event are attached to the underlying TextCompositionManager.TextInput attached event and receive the same event data instance.

Сведения о маршрутизируемом событии Routed Event Information

Поле идентификатора Identifier field TextInputEvent
Стратегия маршрутизации Routing strategy Восходящей маршрутизации Bubbling
Делегат Delegate TextCompositionEventHandler

Соответствующее событие туннелирования — PreviewTextInput . The corresponding tunneling event is PreviewTextInput.

Переопределение OnTextInput для реализации обработки класса для этого события в производных классах. Override OnTextInput to implement class handling for this event in derived classes.

Читайте также:  Как изменить изображение при включении компьютера windows 10

UIElement. Preview Text Input Событие

Определение

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

Тип события

Реализации

Комментарии

Это PreviewTextInput событие позволяет компоненту или приложению ожидать ввода текста независимым от устройства образом. The PreviewTextInput event allows a component or application to listen for text input in a device-independent manner. Клавиатура является основным средством, PreviewTextInput но также может создаваться речь, рукописный ввод и другие устройства ввода PreviewTextInput . The keyboard is the primary means of PreviewTextInput; but speech, handwriting, and other input devices can also generate PreviewTextInput.

Из-за сочетаний клавиш — либо на клавиатуре по умолчанию, либо с помощью редакторов методов ввода. несколько ключевых событий могут вызывать только одно событие текстового ввода. Because of key combinations — either in default keyboards or through input method editors — multiple key events may raise just one text input event.

Это событие создает псевдоним для TextCompositionManager.PreviewTextInput присоединенного события для этого класса, так что PreviewTextInput является частью списка членов класса, если UIElement наследуется как базовый элемент. This event creates an alias for the TextCompositionManager.PreviewTextInput attached event for this class, so that PreviewTextInput is part of the class members list when UIElement is inherited as a base element. Обработчики событий, присоединенные к PreviewTextInput событию, присоединяются к базовому TextCompositionManager.PreviewTextInput присоединенному событию и получают тот же экземпляр данных события. Event handlers that are attached to the PreviewTextInput event are attached to the underlying TextCompositionManager.PreviewTextInput attached event and receive the same event data instance.

Сведения о маршрутизируемом событии Routed Event Information

Поле идентификатора Identifier field PreviewTextInputEvent
Стратегия маршрутизации Routing strategy Туннелирование Tunneling
Делегат Delegate TextCompositionEventHandler

Соответствующее событие восходящей маршрутизации — TextInput . The corresponding bubbling event is TextInput.

Переопределение OnPreviewTextInput для реализации обработки класса для этого события в производных классах. Override OnPreviewTextInput to implement class handling for this event in derived classes.

Text Input Класс

Определение

Свойства поля формы текстового поля. Text Box Form Field Properties. Если объект сериализуется как XML, его полное имя — В:текстинпут. When the object is serialized out as xml, its qualified name is w:textInput.

Комментарии

[ISO/IEC 29500-1 1 издание] [ISO/IEC 29500-1 1st Edition]

Свойство textInput (свойства поля формы текстового поля) textInput (Text Box Form Field Properties)

Этот элемент определяет набор свойств, которые должны быть связаны с полем формы родительского текстового поля формтекст (§ 17.16.5.22) в документе. This element specifies a set of properties which shall be associated with the parent FORMTEXT text box form field (§17.16.5.22) within the document.

Если родительское поле формы не является текстовым полем (то есть его код поля не имеет значение формтекст), эти свойства можно игнорировать. If the parent form field is not a text box (i.e. its field code does not have a value of FORMTEXT), then these properties can be ignored.

[Пример: рассмотрим следующий фрагмент WordprocessingML для свойств поля формы текстового поля: [Example: Consider the following WordprocessingML fragment for the properties of a text box form field:

Элемент textInput указывает, что он содержит набор свойств для поля формы родительского текстового поля. The textInput element specifies that it contains a set of properties for the parent text box form field. В этом случае эти свойства указывают, что раскрывающийся список не должен содержать более четырех символов с помощью элемента maxLength (§ 17.16.26), и что его содержимое должно содержать число с помощью элемента Type (§ 17.16.34). In this case, these properties specify that the drop-down list must contain no more than four characters via the maxLength element (§17.16.26), and that its contents must contain a number via the type element (§17.16.34). конец примера end example]

Родительские элементы Parent Elements
Ффдата (§ 17.16.17) ffData (§17.16.17)
Дочерние элементы Child Elements Вложенное предложение Subclause
значение по умолчанию (строка поля формы в текстовом поле по умолчанию) default (Default Text Box Form Field String) § 17.16.10 §17.16.10
Format (форматирование текстового поля формы) format (Text Box Form Field Formatting) § 17.16.20 §17.16.20
maxLength (максимальная длина текстового поля формы) maxLength (Text Box Form Field Maximum Length) § 17.16.26 §17.16.26
тип (тип поля формы текстового поля) type (Text Box Form Field Type) § 17.16.34 §17.16.34

[Примечание: определение XML-схемы W3C для модели содержимого этого элемента (CT_FFTextInput) находится в разделе § A. 1. [Note: The W3C XML Schema definition of this element’s content model (CT_FFTextInput) is located in §A.1. заметка] end note]

ISO/IEC29500:2008. � ISO/IEC29500: 2008.

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

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

Инициализирует новый экземпляр класса TextInput с указанными дочерними элементами. Initializes a new instance of the TextInput class with the specified child elements.

Инициализирует новый экземпляр класса TextInput с указанными дочерними элементами. Initializes a new instance of the TextInput class with the specified child elements.

Инициализирует новый экземпляр класса TextInput из внешнего XML-кода. Initializes a new instance of the TextInput class from outer XML.

Свойства

Возвращает все дочерние узлы текущего элемента. Gets all the child nodes of the current element.

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

Строка поля формы в текстовом поле по умолчанию. Default Text Box Form Field String. Представляет следующий тег element в схеме: в:дефаулт Represents the following element tag in the schema: w:default

Получает все расширенные атрибуты (атрибуты, не определенные в схеме) текущего элемента. Gets all extended attributes (attributes not defined in the schema) of the current element.

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

Получает первый дочерний элемент текущего элемента OpenXmlElement. Gets the first child of the current OpenXmlElement element.

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

Форматирование полей формы в текстовом поле. Text Box Form Field Formatting. Представляет следующий тег element в схеме: в:формат Represents the following element tag in the schema: w:format

Получает логическое значение, которое указывает, имеет ли текущий элемент какие бы то ни было атрибуты. Gets a boolean value that indicates whether the current element has any attributes.

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

Получает значение, указывающее, содержит ли текущий элемент какие – либо дочерние элементы. Gets a value that indicates whether the current element has any child elements.

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

Получает или задает сцепленные значения текущего узла и всех его дочерних элементов. Gets or sets the concatenated values of the current node and all of its children.

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

Получает или задает разметку, которая представляет только дочерние узлы текущего узла. Gets or sets the markup that represents only the child nodes of the current node.

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

Получает последний дочерний элемент текущего элемента OpenXmlElement. Gets the last child of the current OpenXmlElement element. Возвращает значение null (Nothing в Visual Basic), если такой элемент OpenXmlElement отсутствует. Returns null (Nothing in Visual Basic) if there is no such OpenXmlElement element.

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

Получает локальное имя элемента. Gets the local name of the element.

Максимальная длина поля формы в текстовом поле. Text Box Form Field Maximum Length. Представляет следующий тег element в схеме: В:максленгс Represents the following element tag in the schema: w:maxLength

Задает атрибуты совместимости разметки. Sets the markup compatibility attributes. Возвращает значение null, если для текущего элемента не определены атрибуты совместимости разметки. Returns null if no markup compatibility attributes are defined for the current element.

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

Получает все объявления пространств имен, определенные в текущем элементе. Gets all the namespace declarations defined in the current element. Возвращает пустой перечислитель, если объявление пространства имен отсутствует. Returns an empty enumerator if there is no namespace declaration.

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

Возвращает URI пространства имен текущего элемента. Gets the namespace URI of the current element.

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

Возвращает Опенксмлиментконтекст текущего элемента. Gets the OpenXmlEementContext of the current element.

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

Получает разметку, представляющую текущий элемент и все его дочерние элементы. Gets the markup that represents the current element and all of its child elements.

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

Получает родительский элемент текущего элемента. Gets the parent element of the current element.

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

Возвращает префикс пространства имен текущего элемента. Gets the namespace prefix of current element.

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

Тип поля формы текстового поля. Text Box Form Field Type. Представляет следующий тег element в схеме: в:типе Represents the following element tag in the schema: w:type

Получает полное имя текущего элемента. Gets the qualified name of the current element.

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

Получает полное имя текущего элемента. Gets the qualified name of the current element.

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

Методы

Добавляет объект в текущий список заметок элемента OpenXmlElement. Adds an object to the current OpenXmlElement element’s list of annotations.

(Унаследовано от OpenXmlElement) AddNamespaceDeclaration(String, String)

Добавляет объявление намепаце к текущему узлу. Adds a namepace declaration to the current node.

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

Перечисляет все предки текущего элемента. Enumerates all of the current element’s ancestors.

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

Перечисляет только предки текущего элемента, имеющие указанный тип. Enumerates only the current element’s ancestors that have the specified type.

(Унаследовано от OpenXmlElement) Annotation(Type)

Получает первый объект заметок указанного типа из текущего элемента OpenXmlElement. Get the first annotation object of the specified type from the current OpenXmlElement element.

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

Получает первый объект заметок указанного типа из текущего элемента OpenXmlElement. Get the first annotation object of the specified type from the current OpenXmlElement element.

(Унаследовано от OpenXmlElement) Annotations(Type)

Получает коллекцию заметок с указанным типом для текущего элемента OpenXmlElement. Gets a collection of annotations with the specified type for the current OpenXmlElement element.

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

Получает коллекцию заметок с указанным типом для текущего элемента OpenXmlElement. Gets a collection of annotations with the specified type for the current OpenXmlElement element.

(Унаследовано от OpenXmlElement) Append(IEnumerable )

Добавляет каждый элемент из списка элементов в конец списка всех дочерних элементов текущего элемента. Appends each element from a list of elements to the end of the current element’s list of child elements.

(Унаследовано от OpenXmlElement) Append(OpenXmlElement[])

Добавляет каждый элемент из массива элементов в конец списка дочерних элементов текущего элемента. Appends each element from an array of elements to the end of the current element’s list of child elements.

(Унаследовано от OpenXmlElement) AppendChild (T)

Добавляет указанный элемент в конец списка дочерних узлов текущего элемента. Appends the specified element to the end of the current element’s list of child nodes.

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

Удаляет все атрибуты, в том числе известные атрибуты и дополнительные атрибуты. Clears all of the attributes, including both known attributes and extended attributes.

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

Создает дубликат текущего узла. Creates a duplicate of the current node.

(Унаследовано от OpenXmlElement) CloneNode(Boolean)

Создает дубликат этого узла. Creates a duplicate of this node.

Перечисляет все потомки текущего элемента. Enumerates all of the current element’s descendants.

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

Перечисление всех потомков текущего элемента типа T. Enumerate all of the current element’s descendants of type T.

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

Перечисляет все дочерние элементы текущего элемента. Enumerates all of the current element’s children.

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

Перечисление только тех потомков текущего элемента, которые имеют указанный тип. Enumerates only the current element’s children that have the specified type.

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

Перечисляет все родственные элементы, которые следуют за текущим элементом и имеют тот же родительский элемент, что и текущий элемент. Enumerates all of the sibling elements that follow the current element and have the same parent as the current element.

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

Перечисляет все родственные элементы, предшествующие текущему элементу, и имеющие тот же родительский элемент, что и текущий. Enumerates all of the sibling elements that precede the current element and have the same parent as the current element.

(Унаследовано от OpenXmlElement) GetAttribute(String, String)

Возвращает атрибут Open XML с указанным именем тега и URI пространства имен. Gets an Open XML attribute with the specified tag name and namespace URI.

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

Получает список, содержащий копию всех атрибутов. Gets a list that contains a copy of all the attributes.

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

Возвращает перечислитель, который выполняет итерацию по дочерней коллекции. Returns an enumerator that iterates through the child collection.

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

Находит первый дочерний элемент в типе T. Finds the first child element in type T.

(Унаследовано от OpenXmlElement) InsertAfter (T, OpenXmlElement)

Вставляет указанный элемент сразу после указанного элемента Reference. Inserts the specified element immediately after the specified reference element.

(Унаследовано от OpenXmlCompositeElement) InsertAfterSelf (T)

Вставляет указанный элемент сразу после текущего элемента. Inserts the specified element immediately after the current element.

(Унаследовано от OpenXmlElement) InsertAt (T, Int32)

Вставляет указанный элемент по указанному индексу дочерних элементов текущего элемента. Inserts the specified element at the specified index of the current element’s children.

(Унаследовано от OpenXmlCompositeElement) InsertBefore (T, OpenXmlElement)

Вставляет указанный элемент непосредственно перед указанным элементом Reference. Inserts the specified element immediately before the specified reference element.

(Унаследовано от OpenXmlCompositeElement) InsertBeforeSelf (T)

Вставляет указанный элемент непосредственно перед текущим элементом. Inserts the specified element immediately before the current element.

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

Определяет, отображается ли текущий элемент после указанного элемента в порядке документа. Determines if the current element appears after a specified element in document order.

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

Определяет, отображается ли текущий элемент до указанного элемента в порядке документа. Determines if the current element appears before a specified element in document order.

(Унаследовано от OpenXmlElement) LookupNamespace(String)

Разрешает префикс пространства имен в контексте текущего узла. Resolves the namespace prefix in the context of the current node.

(Унаследовано от OpenXmlElement) LookupPrefix(String)

Ищет соответствующий префикс для URI пространства имен в текущей области элемента. Finds the corresponding prefix for a namespace uri in the current element scope.

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

Получает элемент OpenXmlElement, который следует сразу после текущего элемента OpenXmlElement. Gets the OpenXmlElement element that immediately follows the current OpenXmlElement element. Возвращает значение null (Nothing в Visual Basic), если следующий элемент OpenXmlElement отсутствует. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement element.

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

Получает элемент OpenXmlElement с указанным типом, который соответствует текущему элементу OpenXmlElement. Gets the OpenXmlElement element with the specified type that follows the current OpenXmlElement element. Возвращает значение null (Nothing в Visual Basic), если следующий OpenXmlElement отсутствует. Returns null (Nothing in Visual Basic) if there is no next OpenXmlElement.

(Унаследовано от OpenXmlElement) PrependChild (T)

Вставляет указанный элемент в начало списка дочерних узлов текущего элемента. Inserts the specified element at the beginning of the current element’s list of child nodes.

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

Получает элемент OpenXmlElement, который предшествует текущему элементу OpenXmlElement. Gets the OpenXmlElement element that immediately precedes the current OpenXmlElement element. Возвращает значение null (Nothing в Visual Basic), если предшествующий элемент OpenXmlElement отсутствует. Returns null (Nothing in Visual Basic ) if there is no preceding OpenXmlElement element.

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

Получает элемент OpenXmlElement с указанным типом, предшествующим текущему OpenXmlElement. Gets the OpenXmlElement element with the specified type that precedes the current OpenXmlElement. Возвращает значение null (Nothing в Visual Basic), если предшествующий элемент OpenXmlElement отсутствует. Returns null (Nothing in Visual Basic) if there is no preceding OpenXmlElement element.

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

Удаляет текущий элемент из родительского объекта. Removes the current element from its parent.

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

Удаляет все дочерние элементы текущего элемента. Removes all of the current element’s child elements.

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

Удалите все дочерние элементы текущего элемента, которые относятся к типу T. Remove all of the current element’s child elements that are of type T.

(Унаследовано от OpenXmlElement) RemoveAnnotations(Type)

Удаляет заметки указанного типа из текущего элемента OpenXmlElement. Removes the annotations of the specified type from the current OpenXmlElement element.

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

Удаляет заметки с указанным типом из текущего элемента OpenXmlElement. Removes the annotations with the specified type from the current OpenXmlElement element.

(Унаследовано от OpenXmlElement) RemoveAttribute(String, String)

Удаляет атрибут из текущего элемента. Removes the attribute from the current element.

(Унаследовано от OpenXmlElement) RemoveChild (T)

Удаляет указанный дочерний элемент. Removes the specified child element.

(Унаследовано от OpenXmlCompositeElement) RemoveNamespaceDeclaration(String)

Удаляет объявление пространства имен для указанного префикса. Removes the namespace declaration for the specified prefix. При отсутствии префикса ничего не удаляется. Removes nothing if there is no prefix.

(Унаследовано от OpenXmlElement) ReplaceChild (OpenXmlElement, T)

Заменяет один из дочерних элементов текущего элемента другим элементом OpenXmlElement. Replaces one of the current element’s child elements with another OpenXmlElement element.

(Унаследовано от OpenXmlCompositeElement) SetAttribute(OpenXmlAttribute)

Задает атрибут для указанного элемента. Sets an attribute to the specified element. Если атрибут является известным атрибутом, устанавливается значение атрибута. If the attribute is a known attribute, the value of the attribute is set. Если атрибут является расширенным атрибутом, в список «дополнительные атрибуты» добавляется элемент «Опенксмлаттрибуте». If the attribute is an extended attribute, the ‘openxmlAttribute’ is added to the extended attributes list.

(Унаследовано от OpenXmlElement) SetAttributes(IEnumerable )

Задает количество атрибутов для элемента. Sets a number of attributes to the element. Если атрибут является известным атрибутом, устанавливается значение атрибута. If an attribute is a known attribute, the value of the attribute is set. Если атрибут является расширенным атрибутом, в список «дополнительные атрибуты» добавляется элемент «Опенксмлаттрибуте». If an attribute is an extended attribute, the ‘openxmlAttribute’ is added to the extended attributes list.

(Унаследовано от OpenXmlElement) WriteTo(XmlWriter)

Сохраняет текущий узел в указанном XmlWriter. Saves the current node to the specified XmlWriter.

Читайте также:  Как изменить свойства окна windows
Оцените статью