|
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
namespace RdlEngine
{
class TableColumn : ReportElement
{
private Size _width = Size.ZeroSize;
private Visibility _visibility = Visibility.Visible;
private bool _fixedHeader = false;
public TableColumn(XmlNode node, ReportElement parent)
: base(node, parent)
{
}
protected override void ParseAttribute(XmlNode attr)
{
switch (attr.Name.ToLower())
{
case "width":
_width = new Size(attr.InnerText);
break;
case "visibility":
_visibility = new Visibility(attr, this);
break;
case "fixedheader":
_fixedHeader = bool.Parse(attr.InnerText);
break;
default:
break;
}
}
public Size Width
{
get { return _width; }
}
public Visibility Visibility
{
get { return _visibility; }
}
public bool FixedHeader
{
get { return _fixedHeader; }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been a professional software developer for 25+ years, most of it supporting the business community of Maine. I have been working with MS dotnet since 1.0 beta. I organized Sawiki Software LLC as an outlet for some open source software that I have been working on.