Hi,
I need to change the line that appears on top pf the grid. The row that have the filters. I want to change the with and background color, but in the AppStylist i cannot find were to change it. I've tried to change on UIRole, on GridFilterRowPrompt but nothing happens on the grid.
Can someone help me?
Thanks
You want to use the UIRole for a GridRow (hover over the FilterRow and press '2'). In the bottom Properties window, click on the 'GridStates' tab on the top row of tabs, then the 'FilterRow' tab below that. You can change the various appearances here.
As for changing the width of the row, I'm not sure what you want to do here, but you can't change the width of the row without changing the width of the rest of the grid. Even if you could, this isn't really the realm of AppStylist, which is more concerned with the look and feel of the various components.
-Matt
Thanks! That works just fine! It's not width i want to change. My bad. It's height of the filter row i want to change. Is it possible?
Sure, you could do this, but not in AppStylist. First, you would have to specify that you want to allow the rows to have different individual heights. The second step is to set the height of the FilterRow directly.
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e){ e.Layout.Override.RowSizing = RowSizing.Free; e.Layout.Rows.FilterRow.Height = 75;}