DotNet 4.8.1 build of DotNetBar
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
using DevComponents.DotNetBar.SuperGrid.Style;
|
||||
|
||||
namespace DevComponents.DotNetBar.SuperGrid
|
||||
{
|
||||
///<summary>
|
||||
/// GridFooter
|
||||
///</summary>
|
||||
public class GridFooter : GridTextRow
|
||||
{
|
||||
#region Constructors
|
||||
|
||||
///<summary>
|
||||
/// GridFooter
|
||||
///</summary>
|
||||
public GridFooter()
|
||||
: this(null)
|
||||
{
|
||||
}
|
||||
|
||||
///<summary>
|
||||
/// GridFooter
|
||||
///</summary>
|
||||
///<param name="text"></param>
|
||||
public GridFooter(string text)
|
||||
: base(text)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Style support
|
||||
|
||||
/// <summary>
|
||||
/// ApplyStyleEx
|
||||
/// </summary>
|
||||
/// <param name="style"></param>
|
||||
/// <param name="css"></param>
|
||||
protected override void ApplyStyleEx(TextRowVisualStyle style, StyleType[] css)
|
||||
{
|
||||
foreach (StyleType cs in css)
|
||||
{
|
||||
style.ApplyStyle(SuperGrid.BaseVisualStyles.FooterStyles[cs]);
|
||||
style.ApplyStyle(SuperGrid.DefaultVisualStyles.FooterStyles[cs]);
|
||||
style.ApplyStyle(GridPanel.DefaultVisualStyles.FooterStyles[cs]);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user