Class
RadGanttView

Displays a hierarchical collection of task items along with the relations between them. Each item is represented by a GanttViewDataItem and each link is represented by a GanttViewLinkDataItem.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Data Controls")]
[ComplexBindingProperties("DataSource")]
[Docking(DockingBehavior.Ask)]
public class RadGanttView : RadControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider, IPrintable

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadGanttView

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedIPrintableISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members RadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.SetBackColorThemeOverrides()RadControl.ResetBackColorThemeOverrides()RadControl.SetForeColorThemeOverrides()RadControl.ResetForeColorThemeOverrides()RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnThemeChanged()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.GetInputElement()RadControl.BeginInit()RadControl.EndInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnSizeChanged(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadGanttView()

Initializes a new instance of the RadGanttView class.

Declaration

cs-api-definition
public RadGanttView()

Fields

bitmapCreated

Declaration

cs-api-definition
protected bool bitmapCreated

Field Value

bool

colCount

Declaration

cs-api-definition
protected int colCount

Field Value

int

drawArea

Declaration

cs-api-definition
protected RectangleF drawArea

Field Value

RectangleF

printBmp

Declaration

cs-api-definition
protected Bitmap printBmp

Field Value

Bitmap

rowCount

Declaration

cs-api-definition
protected int rowCount

Field Value

int

timelineBmp

Declaration

cs-api-definition
protected Bitmap timelineBmp

Field Value

Bitmap

Properties

AllowSummaryEditing

Gets or sets a value indicating whether summary items are editable by the user or their value is auto-calculated from their sub items.

Declaration

cs-api-definition
public bool AllowSummaryEditing { get; set; }

Property Value

bool

ChildMember

Gets or sets a property name which will be used to define a relation of the data items.

Declaration

cs-api-definition
public string ChildMember { get; set; }

Property Value

string

Columns

Gets the collection of columns shown in the GanttViewTextViewElement.

Declaration

cs-api-definition
[Browsable(true)]
public GanttViewTextViewColumnCollection Columns { get; }

Property Value

GanttViewTextViewColumnCollection

The columns.

CurrentColumn

Gets or sets the current column.

Declaration

cs-api-definition
[Browsable(false)]
public GanttViewTextViewColumn CurrentColumn { get; set; }

Property Value

GanttViewTextViewColumn

DataProvider

Gets or sets a IGanttViewDataProvider instance, which enables integration with other controls.

Declaration

cs-api-definition
public IGanttViewDataProvider DataProvider { get; set; }

Property Value

IGanttViewDataProvider

The data provider.

DataSource

Gets or sets the data source that the RadGanttView is displaying data for.

Declaration

cs-api-definition
public object DataSource { get; set; }

Property Value

object

DefaultSize

Gets the default size of the control.

Declaration

cs-api-definition
protected override Size DefaultSize { get; }

Property Value

Size

The default Size of the control.

Overrides Control.DefaultSize

DragDropService

Gets or sets the drag drop service.

Declaration

cs-api-definition
[Browsable(false)]
public GanttViewDragDropService DragDropService { get; set; }

Property Value

GanttViewDragDropService

The drag drop service.

EnableCustomPainting

Gets or sets a value indicating whether custom painting is enabled.

Declaration

cs-api-definition
public bool EnableCustomPainting { get; set; }

Property Value

bool

true if custom painting is enabled; otherwise, false.

EndMember

Gets or sets a property name which will be used to extract the end of the data items.

Declaration

cs-api-definition
public string EndMember { get; set; }

Property Value

string

GanttViewBehavior

Gets or sets the gantt view behavior.

Declaration

cs-api-definition
[Browsable(false)]
public BaseGanttViewBehavior GanttViewBehavior { get; set; }

Property Value

BaseGanttViewBehavior

The gantt view behavior.

GanttViewElement

Gets the gantt view element.

Declaration

cs-api-definition
[Browsable(false)]
public RadGanttViewElement GanttViewElement { get; }

Property Value

RadGanttViewElement

The gantt view element.

HeaderHeight

Gets or sets the height of the header row and the timeline container.

Declaration

cs-api-definition
public int HeaderHeight { get; set; }

Property Value

int

The height of the header.

IsDataBound

Gets a value indicating whether this instance is data bound.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsDataBound { get; }

Property Value

bool

true if this instance is data bound; otherwise, false.

IsEditing

Gets a value indicating whether this instance is in edit mode.

Declaration

cs-api-definition
public bool IsEditing { get; }

Property Value

bool

true if this instance is in edit mode; otherwise, false.

IsInDesignMode

Gets or a value indicating whether the control is in design mode.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsInDesignMode { get; }

Property Value

bool

ItemHeight

Gets or sets the height of the items.

Declaration

cs-api-definition
public int ItemHeight { get; set; }

Property Value

int

The height of the item.

Items

Gets the collection of task items.

Declaration

cs-api-definition
[Browsable(true)]
public GanttViewDataItemCollection Items { get; }

Property Value

GanttViewDataItemCollection

The task items.

LinkDataMember

Gets or sets the name of the list or table in the data source from which the RadGanttViewElement will extract links data.

Declaration

cs-api-definition
[Browsable(true)]
public string LinkDataMember { get; set; }

Property Value

string

LinkEndMember

Gets or sets a property name which will be used to extract the links end item.

Declaration

cs-api-definition
public string LinkEndMember { get; set; }

Property Value

string

LinkStartMember

Gets or sets a property name which will be used to extract links start item.

Declaration

cs-api-definition
public string LinkStartMember { get; set; }

Property Value

string

LinkTypeConverter

Gets or sets a link type converter that will be used to convert values coming from the data source to TasksLinkType and vice versa.

Declaration

cs-api-definition
[Browsable(false)]
public LinkTypeConverter LinkTypeConverter { get; set; }

Property Value

LinkTypeConverter

The link type converter.

LinkTypeMember

Gets or sets a property name which will be used to extract the link type of the data items.

Declaration

cs-api-definition
public string LinkTypeMember { get; set; }

Property Value

string

Gets the collection of links.

Declaration

cs-api-definition
[Browsable(true)]
public GanttViewLinkDataItemCollection Links { get; }

Property Value

GanttViewLinkDataItemCollection

The links.

ParentMember

Gets or sets a property name which will be used to define a relation of the data items.

Declaration

cs-api-definition
public string ParentMember { get; set; }

Property Value

string

PrintSettings

Gets or sets a GanttViewPrintSettings instance, which hold the default print settings.

Declaration

cs-api-definition
[Browsable(true)]
public GanttViewPrintSettings PrintSettings { get; set; }

Property Value

GanttViewPrintSettings

The print settings.

ProgressMember

Gets or sets a property name which will be used to extract the Progress of the data items.

Declaration

cs-api-definition
public string ProgressMember { get; set; }

Property Value

string

RadContextMenu

Gets or sets the context menu associated with the control.

Declaration

cs-api-definition
public virtual RadContextMenu RadContextMenu { get; set; }

Property Value

RadContextMenu

A ContextMenu that represents the context menu associated with the control.

Ratio

Gets or sets the ratio between the text view and the graphical view.

Declaration

cs-api-definition
public float Ratio { get; set; }

Property Value

float

The ratio.

ReadOnly

Gets or sets a value indicating whether the gantt view is read only.

Declaration

cs-api-definition
public bool ReadOnly { get; set; }

Property Value

bool

true if the gantt view is read only; otherwise, false.

SelectedItem

Gets or sets the selected item.

Declaration

cs-api-definition
[Browsable(false)]
public GanttViewDataItem SelectedItem { get; set; }

Property Value

GanttViewDataItem

The selected item.

Gets or sets the selected link.

Declaration

cs-api-definition
[Browsable(false)]
public GanttViewLinkDataItem SelectedLink { get; set; }

Property Value

GanttViewLinkDataItem

The selected link.

ShowTimelineTodayIndicator

Gets or sets a value indicating whether to show the timeline today indicator.

Declaration

cs-api-definition
public bool ShowTimelineTodayIndicator { get; set; }

Property Value

bool

true if the timeline today indicator is visible; otherwise, false.

ShowTodayIndicator

Gets or sets a value indicating whether to show the today indicator.

Declaration

cs-api-definition
public bool ShowTodayIndicator { get; set; }

Property Value

bool

true if the today indicator is visible; otherwise, false.

SplitterWidth

Gets or sets the width of the splitter.

Declaration

cs-api-definition
public int SplitterWidth { get; set; }

Property Value

int

The width of the splitter.

StartMember

Gets or sets a property name which will be used to extract the start of the data items.

Declaration

cs-api-definition
public string StartMember { get; set; }

Property Value

string

TaskDataMember

Gets or sets the name of the list or table in the data source from which the RadGanttViewElement will extract tasks data.

Declaration

cs-api-definition
[Browsable(true)]
public string TaskDataMember { get; set; }

Property Value

string

TitleMember

Gets or sets a property name which will be used to extract the title of the data items.

Declaration

cs-api-definition
public string TitleMember { get; set; }

Property Value

string

Methods

BeginPrint(RadPrintDocument, PrintEventArgs)

Called when the printing begins.

Declaration

cs-api-definition
public int BeginPrint(RadPrintDocument sender, PrintEventArgs args)

Parameters

sender

RadPrintDocument

The that has initiated the printing.

args

PrintEventArgs

The event args.

Returns

int

The number of pages that will be printed.

Implements IPrintable.BeginPrint(RadPrintDocument, PrintEventArgs)

BeginUpdate()

Disables all notifications in the RadGanttView to improve performance during bulk operations.

Declaration

cs-api-definition
public void BeginUpdate()

CreateChildItems(RadElement)

Creates the child items.

Declaration

cs-api-definition
protected override void CreateChildItems(RadElement parent)

Parameters

parent

RadElement

The parent.

Overrides RadControl.CreateChildItems(RadElement)

CreateGanttViewElement()

Creates and returns a new instance of RadGanttViewElement. This method can be overridden to provide custom element implementations.

Declaration

cs-api-definition
protected virtual RadGanttViewElement CreateGanttViewElement()

Returns

RadGanttViewElement

A new instance of RadGanttViewElement.

Dispose(bool)

Releases the unmanaged resources used by the RadGanttView and optionally releases the managed resources.

Declaration

cs-api-definition
protected override void Dispose(bool disposing)

Parameters

disposing

bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides RadControl.Dispose(bool)

DrawCurrentPage(Graphics, int)

Draws the current page by slicing a portion of the big bitmap.

Declaration

cs-api-definition
protected virtual void DrawCurrentPage(Graphics g, int printedPage)

Parameters

g

Graphics

The graphics object.

printedPage

int

The printed page.

DrawHeaderAndTimelineViewToBitmap(Bitmap)

Draws the header and the timeline view items to bitmap.

Declaration

cs-api-definition
protected virtual void DrawHeaderAndTimelineViewToBitmap(Bitmap bmp)

Parameters

bmp

Bitmap

The BMP.

DrawHeaderCellsToBitmap(Graphics)

Draws the header cells to bitmap.

Declaration

cs-api-definition
protected virtual void DrawHeaderCellsToBitmap(Graphics g)

Parameters

g

Graphics

The g.

DrawLinksToBitmap(Graphics)

Draws the links to the bitmap.

Declaration

cs-api-definition
protected virtual void DrawLinksToBitmap(Graphics g)

Parameters

g

Graphics

The g.

DrawTextViewAndGraphicalViewToBitmap(Bitmap)

Draws the grid portion of the gantt view and the graphical view to the big bitmap.

Declaration

cs-api-definition
protected virtual void DrawTextViewAndGraphicalViewToBitmap(Bitmap bmp)

Parameters

bmp

Bitmap

The BMP.

DrawTextViewCellsAndTasksToBitmap(Graphics)

Draws the grid cells and graphical tasks to the bitmap.

Declaration

cs-api-definition
protected virtual void DrawTextViewCellsAndTasksToBitmap(Graphics g)

Parameters

g

Graphics

The graphics.

DrawTimelineItemsToBitmap(Graphics)

Draws the timeline items to bitmap.

Declaration

cs-api-definition
protected virtual void DrawTimelineItemsToBitmap(Graphics g)

Parameters

g

Graphics

The g.

EndPrint(RadPrintDocument, PrintEventArgs)

Called when the printing ends.

Declaration

cs-api-definition
public bool EndPrint(RadPrintDocument sender, PrintEventArgs args)

Parameters

sender

RadPrintDocument

The that has initiated the printing.

args

PrintEventArgs

The event args.

Returns

bool

false if the printing was canceled

Implements IPrintable.EndPrint(RadPrintDocument, PrintEventArgs)

EndUpdate()

Re-enables notifications and updates the RadGanttView after bulk operations are completed.

Declaration

cs-api-definition
public void EndUpdate()

GetElementShape(GanttViewPrintElementContext, RectangleF)

Gets the shape of an element based on the print context and the provided rectangle.

Declaration

cs-api-definition
protected virtual PointF[] GetElementShape(GanttViewPrintElementContext context, RectangleF rect)

Parameters

context

GanttViewPrintElementContext

The context.

rect

RectangleF

The rect.

Returns

PointF[]

GetFinishToFinishLines(GanttViewLinkDataItem, int, int)

Gets the finish to finish lines for the given link.

Declaration

cs-api-definition
protected virtual List<PointF> GetFinishToFinishLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)

Parameters

link

GanttViewLinkDataItem

The link.

startItemIndex

int

The index of the link start item in a flat representation of the items hierarchy.

endItemIndex

int

The index of the link end item in a flat representation of the items hierarchy.

Returns

List<PointF>

GetFinishToStartLines(GanttViewLinkDataItem, int, int)

Gets the finish to start lines for the given link.

Declaration

cs-api-definition
protected virtual List<PointF> GetFinishToStartLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)

Parameters

link

GanttViewLinkDataItem

The link.

startItemIndex

int

The index of the link start item in a flat representation of the items hierarchy.

endItemIndex

int

The index of the link end item in a flat representation of the items hierarchy.

Returns

List<PointF>

GetLinkLines(GanttViewLinkDataItem, int, int)

Gets the link lines for the given link.

Declaration

cs-api-definition
protected virtual List<PointF> GetLinkLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)

Parameters

link

GanttViewLinkDataItem

The link.

startItemIndex

int

The index of the link start item in a flat representation of the items hierarchy.

endItemIndex

int

The index of the link end item in a flat representation of the items hierarchy.

Returns

List<PointF>

GetPrintElement(GanttViewPrintElementContext)

Gets an initialized print element based on the provided context.

Declaration

cs-api-definition
protected virtual GanttViewPrintElement GetPrintElement(GanttViewPrintElementContext context)

Parameters

context

GanttViewPrintElementContext

The context.

Returns

GanttViewPrintElement

GetPrintRectangle(GanttViewDataItem, int)

Returns a rectangle representing the coordinates where an object should be positioned or drawn for the given item and time frame.

Declaration

cs-api-definition
protected virtual RectangleF GetPrintRectangle(GanttViewDataItem item, int index)

Parameters

item

GanttViewDataItem

The item that will be printed.

index

int

The index of the item in a flat representation of the items hierarchy.

Returns

RectangleF

GetSettingsDialog(RadPrintDocument)

Gets a print settings dialog that is specific for the printable object.

Declaration

cs-api-definition
public Form GetSettingsDialog(RadPrintDocument document)

Parameters

document

RadPrintDocument

The that has initiated the printing.

Returns

Form

The dialog.

Implements IPrintable.GetSettingsDialog(RadPrintDocument)

GetStartToFinishLines(GanttViewLinkDataItem, int, int)

Gets the start to finish lines for the given link.

Declaration

cs-api-definition
protected virtual List<PointF> GetStartToFinishLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)

Parameters

link

GanttViewLinkDataItem

The link.

startItemIndex

int

The index of the link start item in a flat representation of the items hierarchy.

endItemIndex

int

The index of the link end item in a flat representation of the items hierarchy.

Returns

List<PointF>

GetStartToStartLines(GanttViewLinkDataItem, int, int)

Gets the start to start lines for the given link.

Declaration

cs-api-definition
protected virtual List<PointF> GetStartToStartLines(GanttViewLinkDataItem link, int startItemIndex, int endItemIndex)

Parameters

link

GanttViewLinkDataItem

The link.

startItemIndex

int

The index of the link start item in a flat representation of the items hierarchy.

endItemIndex

int

The index of the link end item in a flat representation of the items hierarchy.

Returns

List<PointF>

IsInputKey(Keys)

Determines whether the pressed key is input key.

Declaration

cs-api-definition
protected override bool IsInputKey(Keys keyData)

Parameters

keyData

Keys

The key data.

Returns

bool

true if the pressed key is an input key; otherwise, false.

Overrides RadControl.IsInputKey(Keys)

OnBindingContextChanged(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnBindingContextChanged(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Overrides RadControl.OnBindingContextChanged(EventArgs)

OnKeyDown(KeyEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnKeyDown(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Overrides RadControl.OnKeyDown(KeyEventArgs)

OnKeyPress(KeyPressEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnKeyPress(KeyPressEventArgs e)

Parameters

e

KeyPressEventArgs

The KeyPressEventArgs instance containing the event data.

Overrides RadControl.OnKeyPress(KeyPressEventArgs)

OnKeyUp(KeyEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnKeyUp(KeyEventArgs e)

Parameters

e

KeyEventArgs

The KeyEventArgs instance containing the event data.

Overrides RadControl.OnKeyUp(KeyEventArgs)

OnMouseClick(MouseEventArgs)

Raises the MouseClick event.

Declaration

cs-api-definition
protected override void OnMouseClick(MouseEventArgs e)

Parameters

e

MouseEventArgs

An MouseEventArgs that contains the event data.

Overrides Control.OnMouseClick(MouseEventArgs)

OnMouseDoubleClick(MouseEventArgs)

Raises the MouseDoubleClick event.

Declaration

cs-api-definition
protected override void OnMouseDoubleClick(MouseEventArgs e)

Parameters

e

MouseEventArgs

An MouseEventArgs that contains the event data.

Overrides Control.OnMouseDoubleClick(MouseEventArgs)

OnMouseDown(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnMouseDown(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Overrides RadControl.OnMouseDown(MouseEventArgs)

OnMouseEnter(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnMouseEnter(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Overrides RadControl.OnMouseEnter(EventArgs)

OnMouseHover(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnMouseHover(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Overrides RadControl.OnMouseHover(EventArgs)

OnMouseLeave(EventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnMouseLeave(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

Overrides RadControl.OnMouseLeave(EventArgs)

OnMouseMove(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnMouseMove(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Overrides RadControl.OnMouseMove(MouseEventArgs)

OnMouseUp(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnMouseUp(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Overrides RadControl.OnMouseUp(MouseEventArgs)

OnMouseWheel(MouseEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnMouseWheel(MouseEventArgs e)

Parameters

e

MouseEventArgs

The MouseEventArgs instance containing the event data.

Overrides RadControl.OnMouseWheel(MouseEventArgs)

OnPrintElementFormatting(GanttViewPrintElementFormattingEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnPrintElementFormatting(GanttViewPrintElementFormattingEventArgs e)

Parameters

e

GanttViewPrintElementFormattingEventArgs

The GanttViewPrintElementFormattingEventArgs instance containing the event data.

OnPrintElementPaint(GanttViewPrintElementPaintEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnPrintElementPaint(GanttViewPrintElementPaintEventArgs e)

Parameters

e

GanttViewPrintElementPaintEventArgs

The GanttViewPrintElementPaintEventArgs instance containing the event data.

Print()

Directly prints the RadGanttView to the default printer.

Declaration

cs-api-definition
public virtual void Print()

Print(bool)

Directly prints the RadGanttView to the default printer or shows printer settings and then prints the RadGanttView.

Declaration

cs-api-definition
public virtual void Print(bool showPrinterSettings)

Parameters

showPrinterSettings

bool

Indicates whether printer settings dialog should be shown.

Print(bool, RadPrintDocument)

Directly prints the RadGanttView to the default printer or shows printer settings and then prints the RadGanttView.

Declaration

cs-api-definition
public virtual void Print(bool showPrinterSettings, RadPrintDocument document)

Parameters

showPrinterSettings

bool

Indicates whether printer settings dialog should be shown.

document

RadPrintDocument

As instance of RadPrintDocument used to control the print process.

PrintGanttViewElement(Graphics, GanttViewPrintElementContext, RectangleF, string, object)

Prints a gantt view element to the graphics object.

Declaration

cs-api-definition
protected virtual void PrintGanttViewElement(Graphics g, GanttViewPrintElementContext context, RectangleF rect, string text, object dataItem)

Parameters

g

Graphics

The Graphics object used for painting the element.

context

GanttViewPrintElementContext

The print element context.

rect

RectangleF

The rectangle of the print element.

text

string

The text of the print element.

dataItem

object

The data item of the print element.

PrintGanttViewElement(Graphics, GanttViewPrintElementContext, RectangleF, string, object, string)

Prints a gantt view element to the graphics object.

Declaration

cs-api-definition
protected virtual void PrintGanttViewElement(Graphics g, GanttViewPrintElementContext context, RectangleF rect, string text, object dataItem, string columnName)

Parameters

g

Graphics

The Graphics object used for painting the element.

context

GanttViewPrintElementContext

The print element context.

rect

RectangleF

The rectangle of the print element.

text

string

The text of the print element.

dataItem

object

The data item of the print element.

columnName

string

The column name of the print element.

PrintPage(int, RadPrintDocument, PrintPageEventArgs)

Prints the page with the specified number.

Declaration

cs-api-definition
public bool PrintPage(int pageNumber, RadPrintDocument sender, PrintPageEventArgs args)

Parameters

pageNumber

int

The number of the current page.

sender

RadPrintDocument

The that has initiated the printing.

args

PrintPageEventArgs

The event args.

Returns

bool

true if there are more pages, false otherwise

Implements IPrintable.PrintPage(int, RadPrintDocument, PrintPageEventArgs)

PrintPreview()

Shows a RadPrintPreviewDialog for editing the RadGanttView print settings.

Declaration

cs-api-definition
public virtual void PrintPreview()

PrintPreview(RadPrintDocument)

Shows a RadPrintPreviewDialog for editing the RadGanttView print settings.

Declaration

cs-api-definition
public virtual void PrintPreview(RadPrintDocument document)

Parameters

document

RadPrintDocument

As instance of RadPrintDocument used to control the print process.

ProcessDialogKey(Keys)

Processes a dialog key.

Declaration

cs-api-definition
protected override bool ProcessDialogKey(Keys keyData)

Parameters

keyData

Keys

One of the Keys values that represents the key to process.

Returns

bool

true if the key was processed by the control; otherwise, false.

Overrides Control.ProcessDialogKey(Keys)

WndProc(ref Message)

Handles windows messages.

Declaration

cs-api-definition
protected override void WndProc(ref Message m)

Parameters

m

Message

The message.

Overrides RadControl.WndProc(ref Message)

Events

ContextMenuOpening

Occurs when a context menu is about to be opened.

Declaration

cs-api-definition
public event GanttViewContextMenuOpeningEventHandler ContextMenuOpening

Event Value

GanttViewContextMenuOpeningEventHandler

CreateDataItem

Occurs when a new data item is created.

Declaration

cs-api-definition
public event CreateGanttDataItemEventHandler CreateDataItem

Event Value

CreateGanttDataItemEventHandler

CreateLinkDataItem

Occurs when a new link data item is created.

Declaration

cs-api-definition
public event CreateGanttLinkDataItemEventHandler CreateLinkDataItem

Event Value

CreateGanttLinkDataItemEventHandler

DataCellElementCreating

Occurs when a new data cell element needs to be created.

Declaration

cs-api-definition
public event GanttViewDataCellElementCreatingEventHandler DataCellElementCreating

Event Value

GanttViewDataCellElementCreatingEventHandler

GraphicalViewItemFormatting

Occurs when the state of an item in the GanttViewGraphicalViewElement changes and it needs to be formatted.

Declaration

cs-api-definition
public event GanttViewGraphicalViewItemFormattingEventHandler GraphicalViewItemFormatting

Event Value

GanttViewGraphicalViewItemFormattingEventHandler

GraphicalViewLinkItemFormatting

Occurs when the state of a link item in the GanttViewGraphicalViewElement changes and it needs to be formatted.

Declaration

cs-api-definition
public event GanttViewLinkItemFormattingEventHandler GraphicalViewLinkItemFormatting

Event Value

GanttViewLinkItemFormattingEventHandler

HeaderCellElementCreating

Occurs when a new header cell element needs to be created.

Declaration

cs-api-definition
public event GanttViewHeaderCellElementCreatingEventHandler HeaderCellElementCreating

Event Value

GanttViewHeaderCellElementCreatingEventHandler

ItemAdded

Occurs when a new item is added to the Items collection.

Declaration

cs-api-definition
public event GanttViewItemAddedEventHandler ItemAdded

Event Value

GanttViewItemAddedEventHandler

ItemAdding

Occurs before an GanttViewDataItem is added to the Items collection.

Declaration

cs-api-definition
public event GanttItemAddingEventHandler ItemAdding

Event Value

GanttItemAddingEventHandler

ItemChanged

Occurs when an item's property is changed.

Declaration

cs-api-definition
public event GanttViewItemChangedEventhandler ItemChanged

Event Value

GanttViewItemChangedEventhandler

ItemChildIdNeeded

Occurs when an item needs an id for storing in data sources.

Declaration

cs-api-definition
public event GanttViewItemChildIdNeededEventHandler ItemChildIdNeeded

Event Value

GanttViewItemChildIdNeededEventHandler

ItemDataBound

Occurs when an item is data bound.

Declaration

cs-api-definition
public event GanttViewItemDataBoundEventHandler ItemDataBound

Event Value

GanttViewItemDataBoundEventHandler

ItemDataError

Occurs when there is an error in the data layer of RadGanttView related to data operations with Item objects.

Declaration

cs-api-definition
public event GanttItemDataErrorEventHandler ItemDataError

Event Value

GanttItemDataErrorEventHandler

ItemElementCreating

Occurs when an item element needs to be created.

Declaration

cs-api-definition
public event GanttViewItemElementCreatingEventHandler ItemElementCreating

Event Value

GanttViewItemElementCreatingEventHandler

ItemExpandedChanged

Occurs after an item is expanded or collapsed.

Declaration

cs-api-definition
public event GanttViewExpandedChangedEventHandler ItemExpandedChanged

Event Value

GanttViewExpandedChangedEventHandler

ItemExpandedChanging

Occurs when an item is about to be expanded or collapsed.

Declaration

cs-api-definition
public event GanttViewExpandedChangingEventHandler ItemExpandedChanging

Event Value

GanttViewExpandedChangingEventHandler

ItemPaint

Occurs when an item is painted. Allows custom painting over the item. EnableCustomPainting must be set to true for this event to be fired.

Declaration

cs-api-definition
public event GanttViewItemPaintEventHandler ItemPaint

Event Value

GanttViewItemPaintEventHandler

ItemRemoved

Occurs when an item removed from the Items collection.

Declaration

cs-api-definition
public event GanttViewItemRemovedEventHandler ItemRemoved

Event Value

GanttViewItemRemovedEventHandler

LinkAdded

Occurs when a new link added to the Links collection.

Declaration

cs-api-definition
public event GanttViewLinkAddedEventHandler LinkAdded

Event Value

GanttViewLinkAddedEventHandler

LinkAdding

Occurs before an GanttViewLinkDataItem is added to the Links collection.

Declaration

cs-api-definition
public event GanttLinkAddingEventHandler LinkAdding

Event Value

GanttLinkAddingEventHandler

LinkChanged

Occurs when a link's property is changed.

Declaration

cs-api-definition
public event GanttViewLinkChangedEventHandler LinkChanged

Event Value

GanttViewLinkChangedEventHandler

LinkDataBound

Occurs when a link is data bound.

Declaration

cs-api-definition
public event GanttViewLinkDataBoundEventHandler LinkDataBound

Event Value

GanttViewLinkDataBoundEventHandler

LinkDataError

Occurs when there is an error in the data layer of RadGanttView related to data operations with Link objects.

Declaration

cs-api-definition
public event GanttLinkDataErrorEventHandler LinkDataError

Event Value

GanttLinkDataErrorEventHandler

LinkRemoved

Occurs when a link is removed from the Links collection.

Declaration

cs-api-definition
public event GanttViewLinkRemovedEventHandler LinkRemoved

Event Value

GanttViewLinkRemovedEventHandler

PrintElementFormatting

Occurs when an element will be printed. Allows formatting of the element.

Declaration

cs-api-definition
public event GanttViewPrintElementFormattingEventHandler PrintElementFormatting

Event Value

GanttViewPrintElementFormattingEventHandler

PrintElementPaint

Occurs after an element is printed. Allows for custom painting over the element.

Declaration

cs-api-definition
public event GanttViewPrintElementPaintEventHandler PrintElementPaint

Event Value

GanttViewPrintElementPaintEventHandler

SelectedItemChanged

Occurs when selected item has been changed.

Declaration

cs-api-definition
public event GanttViewSelectedItemChangedEventHandler SelectedItemChanged

Event Value

GanttViewSelectedItemChangedEventHandler

SelectedItemChanging

Occurs when the selected item is about to be changed.

Declaration

cs-api-definition
public event GanttViewSelectedItemChangingEventHandler SelectedItemChanging

Event Value

GanttViewSelectedItemChangingEventHandler

SelectedLinkChanged

Occurs when selected link has been changed.

Declaration

cs-api-definition
public event GanttViewSelectedLinkChangedEventHandler SelectedLinkChanged

Event Value

GanttViewSelectedLinkChangedEventHandler

SelectedLinkChanging

Occurs when the selected link is about to be changed.

Declaration

cs-api-definition
public event GanttViewSelectedLinkChangingEventHandler SelectedLinkChanging

Event Value

GanttViewSelectedLinkChangingEventHandler

TextViewCellFormatting

Occurs when the content of a cell needs to be formatted for display.

Declaration

cs-api-definition
public event GanttViewTextViewCellFormattingEventHandler TextViewCellFormatting

Event Value

GanttViewTextViewCellFormattingEventHandler

TextViewItemFormatting

Occurs when an item in the GanttViewTextViewElement state changes and it needs to be formatted.

Declaration

cs-api-definition
public event GanttViewTextViewItemFormattingEventHandler TextViewItemFormatting

Event Value

GanttViewTextViewItemFormattingEventHandler

TimelineItemElementCreating

Occurs when a timeline item element needs to be created.

Declaration

cs-api-definition
public event GanttViewTimelineItemElementCreatingEventHandler TimelineItemElementCreating

Event Value

GanttViewTimelineItemElementCreatingEventHandler

TimelineItemFormatting

Occurs when the state of a timeline item changes and it needs to be formatted.

Declaration

cs-api-definition
public event GanttViewTimelineItemFormattingEventHandler TimelineItemFormatting

Event Value

GanttViewTimelineItemFormattingEventHandler

In this article
DefinitionConstructorsRadGanttView()FieldsbitmapCreatedcolCountdrawAreaprintBmprowCounttimelineBmpPropertiesAllowSummaryEditingChildMemberColumnsCurrentColumnDataProviderDataSourceDefaultSizeDragDropServiceEnableCustomPaintingEndMemberGanttViewBehaviorGanttViewElementHeaderHeightIsDataBoundIsEditingIsInDesignModeItemHeightItemsLinkDataMemberLinkEndMemberLinkStartMemberLinkTypeConverterLinkTypeMemberLinksParentMemberPrintSettingsProgressMemberRadContextMenuRatioReadOnlySelectedItemSelectedLinkShowTimelineTodayIndicatorShowTodayIndicatorSplitterWidthStartMemberTaskDataMemberTitleMemberMethodsBeginPrint(RadPrintDocument, PrintEventArgs)BeginUpdate()CreateChildItems(RadElement)CreateGanttViewElement()Dispose(bool)DrawCurrentPage(Graphics, int)DrawHeaderAndTimelineViewToBitmap(Bitmap)DrawHeaderCellsToBitmap(Graphics)DrawLinksToBitmap(Graphics)DrawTextViewAndGraphicalViewToBitmap(Bitmap)DrawTextViewCellsAndTasksToBitmap(Graphics)DrawTimelineItemsToBitmap(Graphics)EndPrint(RadPrintDocument, PrintEventArgs)EndUpdate()GetElementShape(GanttViewPrintElementContext, RectangleF)GetFinishToFinishLines(GanttViewLinkDataItem, int, int)GetFinishToStartLines(GanttViewLinkDataItem, int, int)GetLinkLines(GanttViewLinkDataItem, int, int)GetPrintElement(GanttViewPrintElementContext)GetPrintRectangle(GanttViewDataItem, int)GetSettingsDialog(RadPrintDocument)GetStartToFinishLines(GanttViewLinkDataItem, int, int)GetStartToStartLines(GanttViewLinkDataItem, int, int)IsInputKey(Keys)OnBindingContextChanged(EventArgs)OnKeyDown(KeyEventArgs)OnKeyPress(KeyPressEventArgs)OnKeyUp(KeyEventArgs)OnMouseClick(MouseEventArgs)OnMouseDoubleClick(MouseEventArgs)OnMouseDown(MouseEventArgs)OnMouseEnter(EventArgs)OnMouseHover(EventArgs)OnMouseLeave(EventArgs)OnMouseMove(MouseEventArgs)OnMouseUp(MouseEventArgs)OnMouseWheel(MouseEventArgs)OnPrintElementFormatting(GanttViewPrintElementFormattingEventArgs)OnPrintElementPaint(GanttViewPrintElementPaintEventArgs)Print()Print(bool)Print(bool, RadPrintDocument)PrintGanttViewElement(Graphics, GanttViewPrintElementContext, RectangleF, string, object)PrintGanttViewElement(Graphics, GanttViewPrintElementContext, RectangleF, string, object, string)PrintPage(int, RadPrintDocument, PrintPageEventArgs)PrintPreview()PrintPreview(RadPrintDocument)ProcessDialogKey(Keys)WndProc(ref Message)EventsContextMenuOpeningCreateDataItemCreateLinkDataItemDataCellElementCreatingGraphicalViewItemFormattingGraphicalViewLinkItemFormattingHeaderCellElementCreatingItemAddedItemAddingItemChangedItemChildIdNeededItemDataBoundItemDataErrorItemElementCreatingItemExpandedChangedItemExpandedChangingItemPaintItemRemovedLinkAddedLinkAddingLinkChangedLinkDataBoundLinkDataErrorLinkRemovedPrintElementFormattingPrintElementPaintSelectedItemChangedSelectedItemChangingSelectedLinkChangedSelectedLinkChangingTextViewCellFormattingTextViewItemFormattingTimelineItemElementCreatingTimelineItemFormatting
Not finding the help you need?
Contact Support