DisplayFixedAreaLines: Boolean;
DisplayFixedAreaLines: Boolean;
The DisplayFixedAreaLines property allows to change visibility of fixed area lines.
By default the property is set to True.
The FixedAreaLinesColor property determines the color of the line.
There must be a form with a button named Button1 on it, the TabSheetBox component, and the UiTabSheet component named UiTabSheet1 that is used as a data source for the TabSheetBox component. To execute the example, add a link to the Drawing system assembly and the Button1OnClick event handler.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
UiTabSheet1.TabSheet.View.FixedRowsCount := 2;
UiTabSheet1.TabSheet.View.DisplayFixedAreaLines := True;
UiTabSheet1.TabSheet.View.FixedAreaLinesColor := GxColor.FromName("Red");
End Sub Button1OnClick;
After executing the example a fixed area (first 2 table rows) is created, the lines of the fixed area will be shown in red.
There must be a form with a button named Button1 on it, the TabSheetBoxNet component, and the UiTabSheetNet component named UiTabSheetNet1 that is used as a data source for the TabSheetBoxNet component. To execute the example, add a link to the Button1OnClick event handler.
Imports Prognoz.Platform.Interop.Drawing;
Imports Prognoz.Platform.Interop.Tab;
Imports Prognoz.Platform.Interop.Forms;
…
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var GxColorCls: GxColorClass = New GxColorClassClass();
Begin
uiTabSheetNet1.TabSheetUi.TabSheet.View.FixedRowsCount := 2;
uiTabSheetNet1.TabSheetUi.TabSheet.View.DisplayFixedAreaLines := True;
uiTabSheetNet1.TabSheetUi.TabSheet.View.FixedAreaLinesColor := GxColorCls.FromName("Red");
End Sub;
After executing the example a fixed area (first 2 table rows) is created, the lines of the fixed area will be shown in red.
See also: