ClassGanttViewTextViewCellElement
Represents the element for a cell in a RadGanttView text part.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewTextViewCellElement : GanttViewVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IVirtualizedElement<GanttViewTextViewColumn>
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGanttViewVisualElementGanttViewTextViewCellElement
Derived Classes:
Implements:
Inherited Members
Constructors
GanttViewTextViewCellElement(GanttViewTextItemElement, GanttViewTextViewColumn)
Initializes a new instance of the GanttViewTextViewCellElement class.
Declaration
public GanttViewTextViewCellElement(GanttViewTextItemElement owner, GanttViewTextViewColumn column)
Parameters
owner
The owner.
column
The column.
Fields
CurrentColumnProperty
Declaration
public static RadProperty CurrentColumnProperty
Field Value
Properties
CanUpdateInfo
Gets a value indicating whether this instance can update info.
Declaration
protected virtual bool CanUpdateInfo { get; }
Property Value
true if this instance can update info; otherwise, false.
Column
Gets the column.
Declaration
public GanttViewTextViewColumn Column { get; }
Property Value
The column.
Data
Gets the column of this cell.
Declaration
public GanttViewTextViewColumn Data { get; }
Property Value
The data.
Implements
DataItem
Gets the data item.
Declaration
public GanttViewDataItem DataItem { get; }
Property Value
The data item.
Editor
Gets the editor.
Declaration
public IInputEditor Editor { get; }
Property Value
The editor.
Expander
Gets the expander.
Declaration
public GanttViewTextViewItemExpanderItem Expander { get; }
Property Value
GanttViewTextViewItemExpanderItem
The expander.
IsFirstCell
Gets a value indicating whether this instance is first cell.
Declaration
public virtual bool IsFirstCell { get; }
Property Value
true if this instance is first cell; otherwise, false.
IsInEditMode
Gets a value indicating whether this instance is in edit mode.
Declaration
public bool IsInEditMode { get; }
Property Value
true if this instance is in edit mode; otherwise, false.
IsLastCell
Gets a value indicating whether this instance is last cell.
Declaration
public virtual bool IsLastCell { get; }
Property Value
true if this instance is last cell; otherwise, false.
Owner
Gets the owner of this cell.
Declaration
public GanttViewTextItemElement Owner { get; }
Property Value
The owner.
SelfReferenceLayout
Gets the self reference layout.
Declaration
public GanttCellSelfReferenceLayout SelfReferenceLayout { get; }
Property Value
The self reference layout.
Methods
AddEditor(IInputEditor)
Adds the editor.
Declaration
public virtual void AddEditor(IInputEditor editor)
Parameters
editor
The editor.
ArrangeElement(RadElement, SizeF, RectangleF)
Declaration
protected virtual void ArrangeElement(RadElement element, SizeF finalSize, RectangleF clientRect)
Parameters
element
finalSize
clientRect
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
ArrangeSelfReferencePanel(SizeF, ref RectangleF)
Arranges the self reference panel.
Declaration
protected virtual void ArrangeSelfReferencePanel(SizeF finalSize, ref RectangleF clientRect)
Parameters
finalSize
The final size.
clientRect
The client rect.
Attach(GanttViewTextViewColumn, object)
Attaches the specified data.
Declaration
public virtual void Attach(GanttViewTextViewColumn data, object context)
Parameters
data
The data.
context
The context.
Implements
CalculateDesiredSize(SizeF, SizeF, SizeF)
Calculates the final desired size by combining the element's content size with child elements' size requirements.
Declaration
protected override SizeF CalculateDesiredSize(SizeF availableSize, SizeF desiredSize, SizeF elementsDesiredSize)
Parameters
availableSize
The available space that a parent element can allocate.
desiredSize
The desired size calculated from content and layout requirements.
elementsDesiredSize
The desired size calculated from child elements.
Returns
The final desired size taking into account all size constraints.
Overrides
Detach()
Detaches this instance.
Declaration
public virtual void Detach()
Implements
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
GetEditorElement(IValueEditor)
Gets the editor element.
Declaration
protected RadItem GetEditorElement(IValueEditor editor)
Parameters
editor
The editor.
Returns
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
IsCompatible(GanttViewTextViewColumn, object)
Determines whether the specified data is compatible.
Declaration
public virtual bool IsCompatible(GanttViewTextViewColumn data, object context)
Parameters
data
The data.
context
The context.
Returns
true if the specified data is compatible; otherwise, false.
Implements
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
RemoveEditor(IInputEditor)
Removes the editor.
Declaration
public virtual void RemoveEditor(IInputEditor editor)
Parameters
editor
The editor.
Synchronize()
Synchronizes this instance.
Declaration
public virtual void Synchronize()
Implements