C# (CSharp) Serenity.ComponentModel Пространство имен

Классы

Имя Описание
AlignCenterAttribute Centers text horizontally (usually in a grid column).
AlignRightAttribute Right aligns text horizontally (usually in a grid column)
AlignmentAttribute Controls horizontal alignment of text (usually in grid columns).
AsyncLookupEditorAttribute
BooleanEditorAttribute
BooleanFilteringAttribute
BooleanFormatterAttribute
CheckboxFormatterAttribute
CollapsibleAttribute
CssClassAttribute Sets the CSS class for columns and form fields. In forms, class is added to container div with .field class that contains both label and editor. For columns, it sets cssClass property of SlickColumn, which adds this class to slick cells for all rows. Slick column headers are not affected by this attribute, use HeaderCssClass for that.
DateEditorAttribute
DateFilteringAttribute
DateFormatterAttribute
DateTimeEditorAttribute
DateTimeFilteringAttribute
DateTimeFormatterAttribute
DateYearEditorAttribute
DecimalEditorAttribute
DecimalFilteringAttribute
DisplayFormatAttribute Sets the display format for a column. This has no effect on editors! It is only for Display, "NOT Editing". For editing, you have to change UI culture.

Display format strings are specific to column data and formatter type.

If column is a Date or DateTime column, its default formatter accepts custom DateTime format strings like "dd/MM/yyyy". We don't suggest setting DisplayFormat for dates explicitly, use UI culture setting in Web.config unless a column has to display date/time in a different order than the default. You may also use following standard format strings:
- "d": "dd/MM/yyyy" where DMY order changes based on current UI culture.
- "g": "dd/MM/yyyy HH:mm" where DMY order changes based on current UI culture.
- "G": "dd/MM/yyyy HH:mm:ss" where DMY order changes based on current UI culture.
- "s": "yyydd-MM-ddTHH:mm:ss" ISO sortable date time format.
- "u": "yyydd-MM-ddTHH:mm:ss.fffZ" ISO 8601 UTC.

If column is an integer, double or decimal it accepts.NET custom numeric format strings like "#,##0.00", "0.#"

EditorFilteringAttribute
EditorTypeEditorAttribute
EnumFilteringAttribute
EnumFormatterAttribute
FileDownloadFormatterAttribute
HeaderCssClassAttribute Sets the CSS class for grid column headers. It sets headerCssClass property of SlickColumn. This has no effect for forms.
HiddenAttribute
HintAttribute Sets a hint for a form field. Hint is shown when field label is hovered. This has no effect on columns.
HtmlContentEditorAttribute
HtmlNoteContentEditor
HtmlReportContentEditorAttribute
ImageUploadEditorAttribute
IntegerEditorAttribute
IntegerFilteringAttribute
LookupEditorAttribute
LookupEditorBaseAttribute
LookupFilteringAttribute
LookupScriptAttribute
MaskedEditorAttribute
MinuteFormatterAttribute
NumberFormatterAttribute
PasswordEditorAttribute
PersonNameEditorAttribute
PhoneEditorAttribute
PlaceholderAttribute Sets a placeholder for a form field. Placeholder text is shown inside the editor when its value is empty. Only editors using basic inputs and Select2 editor supports this.
PropertyItem
QuickFilterAttribute
QuickFilterOptionAttribute
RadioButtonEditorAttribute
Recaptcha
RecaptchaSettings
RequiredPermissionAttribute
SortableAttribute
StringEditorAttribute
TextAreaEditorAttribute
TimeEditorAttribute
URLEditorAttribute
UrlFormatterAttribute
VisibleAttribute Controls visibility of a column / form field.