LineExtensions
Wisej.Web.Markup.LineExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.LineExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the Line class.
public class LineExtensions
Sets the LineColor property of the specified Line.
TLine
line
The line for which to set the LineColor property.
color
Returns: TLine. The modified line with the updated LineColor property.
This method allows you to specify the color of the line.
myLine.LineColor(Color.Red);
Sets the LineSize property of the specified Line.
TLine
line
The line for which to set the LineSize property.
size
The size (thickness) of the line.
Returns: TLine. The modified line with the updated LineSize property.
This method allows you to specify the size (thickness) of the line.
myLine.LineSize(5);
Sets the LineStyle property of the specified Line.
TLine
line
The line for which to set the LineStyle property.
style
Returns: TLine. The modified line with the updated LineStyle property.
This method allows you to specify the style of the line, such as solid, dashed, etc.
myLine.LineStyle(LineStyle.Dashed);
Sets the Orientation property of the specified Line.
TLine
line
The line for which to set the Orientation property.
orientation
Returns: TLine. The modified line with the updated Orientation property.
This method allows you to specify the orientation of the line, such as horizontal or vertical.
myLine.Orientation(Orientation.Horizontal);
The type of the line, must inherit from .
The to set for the line.
The type of the line, must inherit from .
The type of the line, must inherit from .
The to set for the line.
The type of the line, must inherit from .
The to set for the line.