'Declaration Public Property BorderStyleRow As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyleRow {get; set;}
This property is used to set the border appearance of a row in the band or the grid controlled by the specified override. You can choose from several line styles. Note that not all styles are available on all operating systems. If the version of the OS that is running your program does not support a particular line style, borders formatted with that style will be drawn using solid lines.
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Private Sub Button58_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button58.Click ' Properties set on the layout's override effect the whole grid. They are grid-wide ' settings. Me.UltraGrid1.DisplayLayout.Override.BorderStyleRow = UIElementBorderStyle.Raised Me.UltraGrid1.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.Inset Me.UltraGrid1.DisplayLayout.Override.BorderStyleHeader = UIElementBorderStyle.Raised ' You can override those grid-wide settings for a particular band by setting those ' properties on the band's override. Me.ultraGrid1.DisplayLayout.Bands(1).Override.BorderStyleRow = UIElementBorderStyle.Solid Me.ultraGrid1.DisplayLayout.Bands(1).Override.BorderStyleCell = UIElementBorderStyle.Solid Me.ultraGrid1.DisplayLayout.Bands(1).Override.BorderStyleHeader = UIElementBorderStyle.Solid End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button58_Click(object sender, System.EventArgs e) { // Properties set on the layout's override effect the whole grid. They are grid-wide // settings. this.ultraGrid1.DisplayLayout.Override.BorderStyleRow = UIElementBorderStyle.Raised; this.ultraGrid1.DisplayLayout.Override.BorderStyleCell = UIElementBorderStyle.Inset; this.ultraGrid1.DisplayLayout.Override.BorderStyleHeader = UIElementBorderStyle.Raised; // You can override those grid-wide settings for a particular band by setting those // properties on the band's override. this.ultraGrid1.DisplayLayout.Bands[1].Override.BorderStyleRow = UIElementBorderStyle.Solid; this.ultraGrid1.DisplayLayout.Bands[1].Override.BorderStyleCell = UIElementBorderStyle.Solid; this.ultraGrid1.DisplayLayout.Bands[1].Override.BorderStyleHeader = UIElementBorderStyle.Solid; }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2