LineExtensions
Wisej.Web.Markup.LineExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the Line class.
public class LineExtensions
Methods
LineColor<TLine>(line, color)

Sets the LineColor property of the specified Line.
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);
LineSize<TLine>(line, size)

Sets the LineSize property of the specified 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);
LineStyle<TLine>(line, style)

Sets the LineStyle property of the specified Line.
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);
Orientation<TLine>(line, orientation)

Sets the Orientation property of the specified Line.
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);
Last updated
Was this helpful?