Table of Contents

Class ContainerField

Namespace: FastReport.Olap.Slice
Assembly: FastCube.Core.dll

Base class for MeasureField and AxisField

public abstract class ContainerField

Inheritance

objectContainerField

Derived

AxisField, MeasureField

Constructors

ContainerField(Slice)

Creates a new instance.

public ContainerField(Slice slice)

Parameters

slice Slice

ContainerField(Slice, string, string)

Creates a new instnace.

public ContainerField(Slice slice, string name, string caption)

Parameters

slice Slice

name string

caption string

Fields

alignment

Alignment.

protected Alignment alignment

Field Value

Alignment

bindCaptionWidth

Condition for bind caption width.

protected bool bindCaptionWidth

Field Value

bool

caption

Field caption.

protected string caption

Field Value

string

captionWidth

Caption width.

protected int captionWidth

Field Value

int

container

Fields container.

protected FieldsContainer container

Field Value

FieldsContainer

name

Field name.

protected string name

Field Value

string

Properties

Alignment

Gets or sets alignment.

public Alignment Alignment { get; set; }

Property Value

Alignment

BindCaptionWidth

Wether to bind caption width and width

public bool BindCaptionWidth { get; set; }

Property Value

bool

Caption

Field caption

public virtual string Caption { get; set; }

Property Value

string

CaptionWidth

Width of field caption. Can be changed by user

public virtual int CaptionWidth { get; set; }

Property Value

int

DisplayFormat

Gets or sets display format.

public abstract FormatBase DisplayFormat { get; set; }

Property Value

FormatBase

Index

Gets or sets index.

public int Index { get; }

Property Value

int

Name

Name of field used as identificator

public string Name { get; set; }

Property Value

string

Width

Width of field in Grid. Can be changed by user

public abstract int Width { get; set; }

Property Value

int

Methods

BeginUpdate()

Begins update.

public void BeginUpdate()

EndUpdate()

Ends update.

public void EndUpdate()

FullRebuildChanged()

Invokes full rebuild changed.

protected virtual void FullRebuildChanged()

FullRedrawChanged()

Invokes full redraw changed.

protected virtual void FullRedrawChanged()

LightRedrawChanged()

Invokes light redraw changed.

protected virtual void LightRedrawChanged()

Load(XmlItem, int)

Loads field from xml.

public virtual void Load(XmlItem item, int version)

Parameters

item XmlItem

version int

Save(XmlItem)

Saves field to xml.

public virtual void Save(XmlItem item)

Parameters

item XmlItem