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.
Sets the BorderStyle property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the BorderStyle property.
borderStyle
Returns: TSplitContainer. The modified split container with the updated BorderStyle property.
This method allows you to set the border style for the split container.
Sets the FixedPanel property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the FixedPanel property.
fixedPanel
Returns: TSplitContainer. The modified split container with the updated FixedPanel property.
This method allows you to specify which panel remains the same size when the split container is resized.
Sets the IsSplitterFixed property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the IsSplitterFixed property.
value
A boolean indicating whether the splitter is fixed.
Returns: TSplitContainer. The modified split container with the updated IsSplitterFixed property.
This method allows you to specify whether the splitter can be moved by the user.
Attaches an event handler for the OrientationChanged event of the specified SplitContainer.
TSplitContainer
splitContainer
The split container to attach the event handler to.
action
An action to execute when the orientation of the split container changes.
Returns: TSplitContainer. The modified split container with the attached OrientationChanged event handler.
This method allows you to execute a custom action whenever the orientation of the split container changes.
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.
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.
Sets the Orientation property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the Orientation property.
orientation
Returns: TSplitContainer. The modified split container with the updated Orientation property.
This method allows you to set the orientation (horizontal or vertical) of the split container.
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.
Sets the Panel1Collapsed property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the Panel1Collapsed property.
value
A boolean indicating whether Panel1 is collapsed.
Returns: TSplitContainer. The modified split container with the updated Panel1Collapsed property.
This method allows you to collapse or expand Panel1 of the split container.
Sets the Panel1MinSize property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the Panel1MinSize property.
size
The minimum size of Panel1.
Returns: TSplitContainer. The modified split container with the updated Panel1MinSize property.
This method allows you to specify the minimum size of Panel1 in the 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 Panel2Collapsed property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the Panel2Collapsed property.
value
A boolean indicating whether Panel2 is collapsed.
Returns: TSplitContainer. The modified split container with the updated Panel2Collapsed property.
This method allows you to collapse or expand Panel2 of the split container.
Sets the Panel2MinSize property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the Panel2MinSize property.
size
The minimum size of Panel2.
Returns: TSplitContainer. The modified split container with the updated Panel2MinSize property.
This method allows you to specify the minimum size of Panel2 in the 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.
Sets the SplitterWidth property of the specified SplitContainer.
TSplitContainer
splitContainer
The split container for which to set the SplitterWidth property.
width
The width of the splitter.
Returns: TSplitContainer. The modified split container with the updated SplitterWidth property.
This method allows you to specify the width of the splitter in the split container.
The type of the split container, must inherit from .
The to set for the split container.
The type of the split container, must inherit from .
The to set for the split container.
The type of the split container, must inherit from .
The type of the split container, must inherit from and support the OrientationChanged event.
The type of the split container, which must inherit from .
This method allows you to easily attach a custom action to the event.
The type of the split container, which must inherit from .
This method allows you to easily attach a custom action to the event.
The type of the split container, must inherit from .
The to set for the split container.
The type of the split container, which must inherit from .
The type of the split container, must inherit from .
The type of the split container, must inherit from .
The type of the split container, which must inherit from .
The type of the split container, must inherit from .
The type of the split container, must inherit from .
The type of the split container, which must inherit from .
The type of the split container, must inherit from .