HtmlAttributes - класс |
Пространство имён: EleWise.ELMA.Web.Mvc
public class HtmlAttributes : Dictionary<string, Object>
Тип HtmlAttributes предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| HtmlAttributes |
Конструктор
|
| Имя | Описание | |
|---|---|---|
| class |
CSS Класс
| |
| Comparer | Gets the IEqualityComparer that is used to determine equality of keys for the dictionary. (Унаследован от DictionaryString, Object.) | |
| Count | Gets the number of key/value pairs contained in the Dictionary. (Унаследован от DictionaryString, Object.) | |
| decimalPrecision |
Точность дробного числа
| |
| inputType |
Тип элемента ввода
| |
| Item | Gets or sets the value associated with the specified key. (Унаследован от DictionaryString, Object.) | |
| Keys | Gets a collection containing the keys in the Dictionary. (Унаследован от DictionaryString, Object.) | |
| onchange |
Действие при изменении значения (Javascript)
| |
| onclick |
Действие при нажатии кнопки мыши (Javascript)
| |
| readonly |
Режим "Только для чтения", устанавливает значение только если true, т.к. браузер не воспринимает readonly="false", а смотрит только на наличие самого атрибута
| |
| rows |
Количество строк для текстового поля
| |
| style |
Стиль
| |
| Values | Gets a collection containing the values in the Dictionary. (Унаследован от DictionaryString, Object.) |
| Имя | Описание | |
|---|---|---|
| Add | Adds the specified key and value to the dictionary. (Унаследован от DictionaryString, Object.) | |
| AddClass |
Добавить CSS-класс
| |
| Clear | Removes all keys and values from the Dictionary. (Унаследован от DictionaryString, Object.) | |
| Clone |
Создать копию
| |
| ContainsKey | Determines whether the Dictionary contains the specified key. (Унаследован от DictionaryString, Object.) | |
| ContainsValue | Determines whether the Dictionary contains a specific value. (Унаследован от DictionaryString, Object.) | |
| DefaultTValue |
Устанавливает значение свойства, если оно не установлено.
| |
| GetEnumerator | Returns an enumerator that iterates through the Dictionary. (Унаследован от DictionaryString, Object.) | |
| GetObjectData | Implements the ISerializable interface and returns the data needed to serialize the Dictionary instance. (Унаследован от DictionaryString, Object.) | |
| OnDeserialization | Implements the ISerializable interface and raises the deserialization event when the deserialization is complete. (Унаследован от DictionaryString, Object.) | |
| Remove | Removes the value with the specified key from the Dictionary. (Унаследован от DictionaryString, Object.) | |
| Set |
Установить значение одного или нескольких свойств
| |
| TryGetValue | Gets the value associated with the specified key. (Унаследован от DictionaryString, Object.) |
| Имя | Описание | |
|---|---|---|
| GetID |
Получить идентификатор из объекта.
Вызывает ToString().ToLower()
(Определяется ObjectExtensions.) | |
| Implementation |
Получить реальный объект из класса
(Определяется ModelExtensions.) | |
| SafeToString | (Определяется ObjectExtensions.) | |
| ToEncodedJson |
Получить представление объекта в структуре Json, зашифрованную для атрибута
(Определяется ObjectExtensions.) | |
| ToJson |
Получить представление объекта в структуре Json
(Определяется ObjectExtensions.) | |
| ToJsonSlice |
Получить представление объекта в структуре Json.
Обрезает стартовый и конечный символы { и }
(Определяется ObjectExtensions.) |