or
foreach ( GridViewRowInfo row in grid.Rows ) { |
if ( row is GridViewGroupRowInfo ) { |
row.VisualElement.DrawFill = true; |
row.VisualElement.BackColor = Color.Red; |
} |
} |
protected override void CreateChildItems( RadElement parent )
{
base.CreateChildItems( parent );
m_objStackLayoutPanel.Orientation = System.Windows.Forms.Orientation.Horizontal;
ImageAndTextLayoutPanel panel = this.GroupBoxElement.Header.Children[2] as ImageAndTextLayoutPanel;
this.GroupBoxElement.Header.Children.RemoveAt( 2 );
this.GroupBoxElement.Header.Children.Add( m_objStackLayoutPanel );
m_objStackLayoutPanel.Children.Add( m_objButton );
m_objButton.Size = new System.Drawing.Size( 16, 16 );
m_objStackLayoutPanel.Children.Add( panel );
}
}