Wisej.Web.Markup.SplitterControlExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the SplitContainer class.
Attaches an action to be executed when the splitter has been moved.
TSplitContainer
splitContainer
The split container instance to attach the event handler to.
action
The action to execute when the splitter is moved. It receives the split container and the event arguments as parameters.
Returns: TSplitContainer. The original split container instance with the event handler attached.
This method allows you to easily attach a custom action to the SplitterMoved event.
Attaches an action to be executed when the splitter is being moved.
TSplitContainer
splitContainer
The split container instance to attach the event handler to.
action
The action to execute when the splitter is moving. It receives the split container and the event arguments as parameters.
Returns: TSplitContainer. The original split container instance with the event handler attached.
This method allows you to easily attach a custom action to the SplitterMoving event.
Adds an array of controls to Panel1 of the specified SplitContainer.
TSplitContainer
splitContainer
The split container to which the controls will be added to Panel1.
controls
An array of controls to be added to Panel1.
Returns: TSplitContainer. The split container with the updated Panel1 controls.
This method allows you to add multiple controls to the first panel of a split container.
Adds an array of controls to Panel2 of the specified SplitContainer.
TSplitContainer
splitContainer
The split container to which the controls will be added to Panel2.
controls
An array of controls to be added to Panel2.
Returns: TSplitContainer. The split container with the updated Panel2 controls.
This method allows you to add multiple controls to the second panel of a split container.
Sets the splitter distance for the specified SplitContainer, determining the size of Panel1.
TSplitContainer
splitContainer
The split container for which to set the splitter distance.
distance
The distance, in pixels, from the left or top edge of the split container to the splitter.
Returns: TSplitContainer. The split container with the updated splitter distance.
This method allows you to specify the size of the first panel in a split container by setting the distance of the splitter.
The type of the split container, which must inherit from .
The type of the split container, which must inherit from .
The type of the split container, which must inherit from .
The type of the split container, which must inherit from .
The type of the split container, which must inherit from .