UserControl
Wisej.Web.UserControl
Last updated
Wisej.Web.UserControl
Last updated
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides an empty control that can be used to create other controls.
Initializes a new instance of the UserControl class.
Initializes a new instance of the UserControl class with the specified settings.
Name | Type | Description |
---|---|---|
Initializes a new instance of the UserControl class with the specified settings.
Boolean: Returns or sets whether the control should automatically resize based on its contents. (Default: False
)
AutoSizeMode: Returns or sets how the control will resize itself. (Default: GrowOnly
)
AutoValidate: Returns or sets how the control performs validation when the user changes focus to another control.
BorderStyle: Returns or sets the border style of the user control. (Default: None
)
Rectangle: Returns the rectangle that represents the virtual display area of the control.
Validates all selectable child controls in the container, including descendants. This is equivalent to calling ValidateChildren(ValidationConstraints.Selectable). See Selectable for details of exactly which child controls will be validated.
Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.
Validates all the child controls in the container. Exactly which controls are validated and which controls are skipped is determined by flags .
Returns: Boolean. true if all of the children validated successfully; otherwise, false. If called from the Validating or Validated event handlers, this method will always return false.
EventHandler Fired when the AutoSize property changes.
EventHandler Fired when the AutoValidate property changes.
EventHandler Occurs before the control becomes visible for the first time.
Name | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|