SplitterControlExtensions
Wisej.Web.Markup.SplitterControlExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.SplitterControlExtensions
Last updated
Was this helpful?
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.
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.
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.
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.
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.
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.