Class RadGanttViewElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadGanttViewElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
RadGanttViewElement()
Initializes a new instance of the Rad
Declaration
public RadGanttViewElement()
Fields
HeaderHeightProperty
ItemHeightProperty
ItemSpacingProperty
MinimumLinkLengthProperty
MinimumTaskWidthProperty
ReadOnlyProperty
SplitterWidthProperty
Properties
ActiveEditor
Gets the active editor.
Declaration
public IValueEditor ActiveEditor { get; }
Property Value
AllowDefaultContextMenu
Gets or sets a value indicating whether the default context menu may be shown.
Declaration
public bool AllowDefaultContextMenu { get; set; }
Property Value
System.
|
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
public bool AllowSummaryEditing { get; set; }
Property Value
System.
|
BeginEditMode
Gets or sets the begin edit mode.
Declaration
public GanttViewBeginEditModes BeginEditMode { get; set; }
Property Value
Gantt The begin edit mode. |
BindingContext
Gets or sets the BindingContext for the object.
Declaration
public override BindingContext BindingContext { get; set; }
Property Value
System.
|
Overrides
ChildMember
Gets or sets a property name which will be used to define a relation of the data items.
Declaration
public string ChildMember { get; set; }
Property Value
System.
|
Columns
Gets the columns shown in the Gantt
Declaration
public GanttViewTextViewColumnCollection Columns { get; }
Property Value
Gantt The columns. |
Comparer
Gets or sets the default sort Comparer for RadGanttView. The default comparer compares the items according to their start time.
Declaration
public IComparer<GanttViewDataItem> Comparer { get; set; }
Property Value
System.
|
ContextMenu
Gets or sets the context menu.
Declaration
public virtual RadContextMenu ContextMenu { get; set; }
Property Value
Rad The context menu. |
CurrentColumn
Gets or sets the current column.
Declaration
public GanttViewTextViewColumn CurrentColumn { get; set; }
Property Value
DataItemProvider
Gets the data item provider.
Declaration
public virtual GanttViewDataItemProvider DataItemProvider { get; }
Property Value
Gantt The data item provider. |
DataProvider
Declaration
public IGanttViewDataProvider DataProvider { get; set; }
Property Value
DataSource
Gets or sets the data source that the Rad
Declaration
public object DataSource { get; set; }
Property Value
System.
|
DisableEnsureItemVisibleHorizontal
Gets or sets a value indicating whether to disable ensure item visible horizontal.
Declaration
public bool DisableEnsureItemVisibleHorizontal { get; set; }
Property Value
System.
|
DragDropService
Gets or sets the drag drop service.
Declaration
public GanttViewDragDropService DragDropService { get; set; }
Property Value
Gantt The drag drop service. |
EnableCustomPainting
Gets or sets a value indicating whether custom painting is enabled.
Declaration
public bool EnableCustomPainting { get; set; }
Property Value
System.
|
EnableKineticScrolling
Gets or sets a value indicating whether the kinetic scrolling function is enabled.
Declaration
public bool EnableKineticScrolling { get; set; }
Property Value
System.
|
EndMember
Gets or sets a property name which will be used to extract the end of the data items.
Declaration
public string EndMember { get; set; }
Property Value
System.
|
FilterDescriptors
Gets the filter descriptors.
Declaration
public FilterDescriptorCollection FilterDescriptors { get; }
Property Value
Filter The filter descriptors. |
GanttViewBehavior
Gets or sets the gantt view behavior.
Declaration
public BaseGanttViewBehavior GanttViewBehavior { get; set; }
Property Value
Base The gantt view behavior. |
GraphicalViewElement
Gets the Gantt
Declaration
public GanttViewGraphicalViewElement GraphicalViewElement { get; }
Property Value
Gantt The graphical view element. |
HasLinks
Gets a value indicating whether the inks collection is populated.
Declaration
public bool HasLinks { get; }
Property Value
System.
|
HeaderHeight
Gets or sets the height of the header row and the timeline container.
Declaration
public int HeaderHeight { get; set; }
Property Value
System. The height of the header. |
IsDataBound
Gets a value indicating whether this instance is data bound.
Declaration
public bool IsDataBound { get; }
Property Value
System.
|
IsEditing
Gets a value indicating whether this instance is in edit mode.
Declaration
public bool IsEditing { get; }
Property Value
System.
|
IsInDesignMode
Gets or a value indicating whether the control is in design mode.
Declaration
public bool IsInDesignMode { get; }
Property Value
System.
|
ItemHeight
Gets or sets the height of the items.
Declaration
public int ItemHeight { get; set; }
Property Value
System. The height of the item. |
Items
Gets the collection of task items.
Declaration
public GanttViewDataItemCollection Items { get; }
Property Value
Gantt The task items. |
ItemSpacing
Gets or sets the item spacing.
Declaration
public int ItemSpacing { get; set; }
Property Value
System. The item spacing. |
LinkDataMember
Gets or sets the name of the list or table in the data source from which the Rad
Declaration
public string LinkDataMember { get; set; }
Property Value
System.
|
LinkEndMember
Gets or sets a property name which will be used to extract the links end item.
Declaration
public string LinkEndMember { get; set; }
Property Value
System.
|
Links
Gets the collection of links.
Declaration
public GanttViewLinkDataItemCollection Links { get; }
Property Value
Gantt The links. |
LinkStartMember
Gets or sets a property name which will be used to extract links start item.
Declaration
public string LinkStartMember { get; set; }
Property Value
System.
|
LinkTypeConverter
Gets or sets a link type converter that will be used to convert values coming from the data source to Tasks
Declaration
public LinkTypeConverter LinkTypeConverter { get; set; }
Property Value
Link 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
public string LinkTypeMember { get; set; }
Property Value
System.
|
MinimumColumnWidth
Gets or sets the minimum width of a column.
Declaration
public int MinimumColumnWidth { get; set; }
Property Value
System. The minimum width of a column. |
MinimumLinkLength
Gets or sets the minimum length of the link.
Declaration
public int MinimumLinkLength { get; set; }
Property Value
System. The minimum length of the link. |
MinimumTaskWidth
Gets or sets the minimum width of a task when resizing it with the mouse. The size is in pixels and is for the current zoom.
Declaration
public int MinimumTaskWidth { get; set; }
Property Value
System. The minimum width of the task. |
ParentMember
Gets or sets a property name which will be used to define a relation of the data items.
Declaration
public string ParentMember { get; set; }
Property Value
System.
|
ProgressMember
Gets or sets a property name which will be used to extract the Progress of the data items.
Declaration
public string ProgressMember { get; set; }
Property Value
System.
|
Ratio
Gets or sets the ratio between the text view and the graphical view.
Declaration
public float Ratio { get; set; }
Property Value
System. The ratio. |
ReadOnly
Gets or sets a value indicating whether the gantt view is read only.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.
|
ScrollBehavior
Gets the Scroll
Declaration
public ScrollServiceBehavior ScrollBehavior { get; }
Property Value
SelectedItem
Gets or sets the selected item.
Declaration
public GanttViewDataItem SelectedItem { get; set; }
Property Value
Gantt The selected item. |
SelectedLink
Gets or sets the selected link item.
Declaration
public GanttViewLinkDataItem SelectedLink { get; set; }
Property Value
Gantt The selected link item. |
ShowTimelineTodayIndicator
Gets or sets a value indicating whether to show the timeline today indicator.
Declaration
public bool ShowTimelineTodayIndicator { get; set; }
Property Value
System.
|
ShowTodayIndicator
Gets or sets a value indicating whether to show the today indicator.
Declaration
public bool ShowTodayIndicator { get; set; }
Property Value
System.
|
SplitterElement
Gets the Gantt
Declaration
public GanttViewViewsSplitterElement SplitterElement { get; }
Property Value
Gantt The splitter element. |
SplitterWidth
Gets or sets the width of the splitter.
Declaration
public int SplitterWidth { get; set; }
Property Value
System. 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
public string StartMember { get; set; }
Property Value
System.
|
TaskDataMember
Gets or sets the name of the list or table in the data source from which the Rad
Declaration
public string TaskDataMember { get; set; }
Property Value
System.
|
TextViewElement
Gets the Gantt
Declaration
public GanttViewTextViewElement TextViewElement { get; }
Property Value
Gantt The text view element. |
TitleMember
Gets or sets a property name which will be used to extract the title of the data items.
Declaration
public string TitleMember { get; set; }
Property Value
System.
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
BeginEdit()
Puts the current item in edit mode.
Declaration
public virtual bool BeginEdit()
Returns
System.
|
BeginUpdate()
Begins an update.
Declaration
public void BeginUpdate()
BringIntoView(GanttViewDataItem)
Ensures that the specified item is visible within the gantt view element, scrolling the contents of the element if necessary. This method expands parent items when necessary.
Declaration
public void BringIntoView(GanttViewDataItem item)
Parameters
Gantt The item to bring into view |
CancelEdit()
Close the currently active editor and discard changes.
Declaration
public void CancelEdit()
ClearSelection()
Clears the selection.
Declaration
public void ClearSelection()
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateGraphicalViewElement(RadGanttViewElement)
Creates the Gantt
Declaration
protected virtual GanttViewGraphicalViewElement CreateGraphicalViewElement(RadGanttViewElement ganttView)
Parameters
Rad The gantt view. |
Returns
CreateNewLink()
Creates a new link.
Declaration
protected virtual GanttViewLinkDataItem CreateNewLink()
Returns
CreateNewTask()
Creates a new task.
Declaration
protected virtual GanttViewDataItem CreateNewTask()
Returns
CreateTextViewElement(RadGanttViewElement)
Creates the the Gantt
Declaration
protected virtual GanttViewTextViewElement CreateTextViewElement(RadGanttViewElement ganttView)
Parameters
Rad The gantt view. |
Returns
CreateViewsSplitterElement()
Creates the Gantt
Declaration
protected virtual GanttViewViewsSplitterElement CreateViewsSplitterElement()
Returns
EndEdit()
Commits any changes and ends the edit operation on the current item.
Declaration
public bool EndEdit()
Returns
System.
|
EndEditCore(Boolean)
Ends the editing of an item and commits or discards the changes.
Declaration
protected virtual bool EndEditCore(bool commitChanges)
Parameters
System. Determines if the changes are commited [true] or discarded [false]. |
Returns
System.
|
EndUpdate()
Ends an update.
Declaration
public void EndUpdate()
EndUpdate(Boolean, RadGanttViewElement.UpdateActions)
Ends the update.
Declaration
public void EndUpdate(bool performUpdate, RadGanttViewElement.UpdateActions action)
Parameters
System. Tells the view whether an update is required or not. |
Rad Indicates the update action |
EnsureItemVisibleHorizontal(GanttViewDataItem, GanttViewBaseItemElement)
Declaration
protected virtual void EnsureItemVisibleHorizontal(GanttViewDataItem item, GanttViewBaseItemElement itemElement)
Parameters
Gantt
|
Gantt
|
EnsureItemVisibleVertical(GanttViewDataItem, GanttViewBaseItemElement)
Ensures the item is visible vertically.
Declaration
protected virtual GanttViewBaseItemElement EnsureItemVisibleVertical(GanttViewDataItem item, GanttViewBaseItemElement itemElement)
Parameters
Gantt The item. |
Gantt The item element. |
Returns
EnsureItemVisibleVerticalCore(GanttViewDataItem)
Ensures the item visible vertically.
Declaration
protected virtual GanttViewBaseItemElement EnsureItemVisibleVerticalCore(GanttViewDataItem item)
Parameters
Gantt The item. |
Returns
EnsureVisible(GanttViewDataItem)
Ensures that the specified item is visible within the gantt view element, scrolling the contents of the element if necessary.
Declaration
public void EnsureVisible(GanttViewDataItem item)
Parameters
Gantt The item to scroll into view |
GetEditor(Type)
Gets an editor based on its type.
Declaration
protected virtual IInputEditor GetEditor(Type editorType)
Parameters
System. Type of the editor. |
Returns
InitializeFields()
Initializes the fields.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnBindingContextChanged(EventArgs)
Raises the Binding
Declaration
protected virtual void OnBindingContextChanged(EventArgs e)
Parameters
System. The System. |
OnContextMenuOpening(GanttViewContextMenuOpeningEventArgs)
Raises the Context
Declaration
protected virtual void OnContextMenuOpening(GanttViewContextMenuOpeningEventArgs e)
Parameters
Gantt The Gantt |
OnCreateDataItem(CreateGanttDataItemEventArgs)
Raises the Create
Declaration
protected virtual void OnCreateDataItem(CreateGanttDataItemEventArgs e)
Parameters
Create The Create |
OnCreateLinkDataItem(CreateGanttLinkDataItemEventArgs)
Raises the Create
Declaration
protected virtual void OnCreateLinkDataItem(CreateGanttLinkDataItemEventArgs e)
Parameters
Create The Create |
OnDataCellCreating(GanttViewDataCellElementCreatingEventArgs)
Raises the Data
Declaration
protected virtual void OnDataCellCreating(GanttViewDataCellElementCreatingEventArgs e)
Parameters
Gantt The Gantt |
OnEditorInitialized(GanttViewItemEditorInitializedEventArgs)
Raises the Editor
Declaration
protected virtual void OnEditorInitialized(GanttViewItemEditorInitializedEventArgs e)
Parameters
Gantt The Gantt |
OnEditorRequired(GanttViewEditorRequiredEventArgs)
Raises the Editor
Declaration
protected virtual void OnEditorRequired(GanttViewEditorRequiredEventArgs e)
Parameters
Gantt The Gantt |
OnGraphicalViewItemFormatting(GanttViewGraphicalViewItemFormattingEventArgs)
Raises the Graphical
Declaration
protected virtual void OnGraphicalViewItemFormatting(GanttViewGraphicalViewItemFormattingEventArgs e)
Parameters
Gantt The Gantt |
OnGraphicalViewLinkItemFormatting(GanttViewLinkItemFormattingEventArgs)
Raises the Graphical
Declaration
protected virtual void OnGraphicalViewLinkItemFormatting(GanttViewLinkItemFormattingEventArgs e)
Parameters
Gantt The Gantt |
OnHeaderCellCreating(GanttViewHeaderCellElementCreatingEventArgs)
Raises the Header
Declaration
protected virtual void OnHeaderCellCreating(GanttViewHeaderCellElementCreatingEventArgs e)
Parameters
Gantt The Gantt |
OnItemAdded(GanttViewItemAddedEventArgs)
Raises the Item
Declaration
protected virtual void OnItemAdded(GanttViewItemAddedEventArgs e)
Parameters
Gantt The Gantt |
OnItemAdding(GanttViewItemAddingEventArgs)
Raises the Item
Declaration
protected virtual void OnItemAdding(GanttViewItemAddingEventArgs e)
Parameters
Gantt The Gantt |
OnItemChanged(GanttViewItemChangedEventArgs)
Raises the Item
Declaration
protected virtual void OnItemChanged(GanttViewItemChangedEventArgs e)
Parameters
Gantt The Gantt |
OnItemChildIdNeeded(GanttViewItemChildIdNeededEventArgs)
Raises the Item
Declaration
protected virtual void OnItemChildIdNeeded(GanttViewItemChildIdNeededEventArgs e)
Parameters
Gantt The Gantt |
OnItemDataBound(GanttViewItemDataBoundEventArgs)
Raises the Item
Declaration
protected virtual void OnItemDataBound(GanttViewItemDataBoundEventArgs e)
Parameters
Gantt The Gantt |
OnItemDataError(GanttViewItemDataErrorEventArgs)
Raises the Item
Declaration
protected virtual void OnItemDataError(GanttViewItemDataErrorEventArgs e)
Parameters
Gantt The Gantt |
OnItemEdited(GanttViewItemEditedEventArgs)
Raises the Item
Declaration
protected virtual void OnItemEdited(GanttViewItemEditedEventArgs e)
Parameters
Gantt The Gantt |
OnItemEditing(GanttViewItemEditingEventArgs)
Raises the Editing event.
Declaration
protected virtual void OnItemEditing(GanttViewItemEditingEventArgs e)
Parameters
Gantt The Gantt |
OnItemElementCreating(GanttViewItemElementCreatingEventArgs)
Raises the Item
Declaration
protected virtual void OnItemElementCreating(GanttViewItemElementCreatingEventArgs e)
Parameters
Gantt The Gantt |
OnItemExpandedChanged(GanttViewExpandedChangedEventArgs)
Raises the Item
Declaration
protected virtual void OnItemExpandedChanged(GanttViewExpandedChangedEventArgs e)
Parameters
Gantt The Gantt |
OnItemExpandedChanging(GanttViewDataItem)
Called when an item expanded is changing.
Declaration
protected bool OnItemExpandedChanging(GanttViewDataItem item)
Parameters
Gantt The item. |
Returns
System.
|
OnItemExpandedChanging(GanttViewExpandedChangingEventArgs)
Raises the Item
Declaration
protected virtual void OnItemExpandedChanging(GanttViewExpandedChangingEventArgs e)
Parameters
Gantt The Gantt |
OnItemPaint(GanttViewItemPaintEventArgs)
Raises the Item
Declaration
protected virtual void OnItemPaint(GanttViewItemPaintEventArgs e)
Parameters
Gantt The Gantt |
Exceptions
System.
|
OnItemRemoved(GanttViewItemRemovedEventArgs)
Raises the Item
Declaration
protected virtual void OnItemRemoved(GanttViewItemRemovedEventArgs e)
Parameters
Gantt The Gantt |
OnItemValidated(GanttViewItemValidatedEventArgs)
Raises the Item
Declaration
protected virtual void OnItemValidated(GanttViewItemValidatedEventArgs e)
Parameters
Gantt The Gantt |
OnItemValidating(GanttViewItemValidatingEventArgs)
Raises the Item
Declaration
protected virtual void OnItemValidating(GanttViewItemValidatingEventArgs e)
Parameters
Gantt The Gantt |
OnLinkAdded(GanttViewLinkAddedEventArgs)
Raises the Link
Declaration
protected virtual void OnLinkAdded(GanttViewLinkAddedEventArgs e)
Parameters
Gantt The Gantt |
OnLinkAdding(GanttViewLinkAddingEventArgs)
Raises the Link
Declaration
protected virtual void OnLinkAdding(GanttViewLinkAddingEventArgs e)
Parameters
Gantt The Gantt |
OnLinkChanged(GanttViewLinkChangedEventArgs)
Raises the Link
Declaration
protected virtual void OnLinkChanged(GanttViewLinkChangedEventArgs e)
Parameters
Gantt The Gantt |
OnLinkDataBound(GanttViewLinkDataBoundEventArgs)
Raises the Link
Declaration
protected virtual void OnLinkDataBound(GanttViewLinkDataBoundEventArgs e)
Parameters
Gantt The Gantt |
OnLinkDataError(GanttViewLinkDataErrorEventArgs)
Raises the Link
Declaration
protected virtual void OnLinkDataError(GanttViewLinkDataErrorEventArgs e)
Parameters
Gantt The Gantt |
OnLinkRemoved(GanttViewLinkRemovedEventArgs)
Raises the Link
Declaration
protected virtual void OnLinkRemoved(GanttViewLinkRemovedEventArgs e)
Parameters
Gantt The Gantt |
OnLoaded()
Called when the element has been successfully loaded. That includes loading of all its children as well.
Declaration
protected override void OnLoaded()
Overrides
OnMouseDown(MouseEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
System. The System. |
Overrides
OnMouseMove(MouseEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
System. The System. |
Overrides
OnMouseUp(MouseEventArgs)
Raises the Mouse
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
System. The System. |
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Raises the Property
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Rad The Rad |
Overrides
OnRootCreated(EventArgs)
Raises the Root
Declaration
protected virtual void OnRootCreated(EventArgs e)
Parameters
System. The System. |
OnSelectedItemChanged(GanttViewSelectedItemChangedEventArgs)
Raises the Selected
Declaration
protected virtual void OnSelectedItemChanged(GanttViewSelectedItemChangedEventArgs e)
Parameters
Gantt The Gantt |
OnSelectedItemChanging(GanttViewSelectedItemChangingEventArgs)
Raises the Selected
Declaration
protected virtual void OnSelectedItemChanging(GanttViewSelectedItemChangingEventArgs e)
Parameters
Gantt The Gantt |
OnSelectedLinkChanged(GanttViewSelectedLinkChangedEventArgs)
Raises the Selected
Declaration
protected virtual void OnSelectedLinkChanged(GanttViewSelectedLinkChangedEventArgs e)
Parameters
Gantt The Gantt |
OnSelectedLinkChanging(GanttViewSelectedLinkChangingEventArgs)
Raises the Selected
Declaration
protected virtual void OnSelectedLinkChanging(GanttViewSelectedLinkChangingEventArgs e)
Parameters
Gantt The Gantt |
OnTextViewCellFormatting(GanttViewTextViewCellFormattingEventArgs)
Raises the Text
Declaration
protected virtual void OnTextViewCellFormatting(GanttViewTextViewCellFormattingEventArgs e)
Parameters
Gantt The Gantt |
OnTextViewItemFormatting(GanttViewTextViewItemFormattingEventArgs)
Raises the Text
Declaration
protected virtual void OnTextViewItemFormatting(GanttViewTextViewItemFormattingEventArgs e)
Parameters
Gantt The Gantt |
OnTimelineItemElementCreating(GanttViewTimelineItemElementCreatingEventArgs)
Raises the Timeline
Declaration
protected virtual void OnTimelineItemElementCreating(GanttViewTimelineItemElementCreatingEventArgs e)
Parameters
Gantt The Gantt |
OnTimelineItemFormatting(GanttViewTimelineItemFormattingEventArgs)
Raises the Timeline
Declaration
protected virtual void OnTimelineItemFormatting(GanttViewTimelineItemFormattingEventArgs e)
Parameters
Gantt The Gantt |
ProcessCurrentItem(GanttViewDataItem)
Processes the item as current.
Declaration
protected virtual bool ProcessCurrentItem(GanttViewDataItem item)
Parameters
Gantt The item. |
Returns
System.
|
ProcessDoubleClick(MouseEventArgs)
Processes double click.
Declaration
public virtual bool ProcessDoubleClick(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessKeyDown(KeyEventArgs)
Processes key down.
Declaration
public virtual bool ProcessKeyDown(KeyEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessKeyPress(KeyPressEventArgs)
Processes key press.
Declaration
public virtual bool ProcessKeyPress(KeyPressEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessKeyUp(KeyEventArgs)
Processes key up.
Declaration
public virtual bool ProcessKeyUp(KeyEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseClick(MouseEventArgs)
Processes mouse click.
Declaration
public virtual bool ProcessMouseClick(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseDown(MouseEventArgs)
Processes mouse down.
Declaration
public virtual bool ProcessMouseDown(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseEnter(EventArgs)
Processes mouse enter.
Declaration
public virtual bool ProcessMouseEnter(EventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseHover(EventArgs)
Processes mouse hover.
Declaration
public virtual bool ProcessMouseHover(EventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseLeave(EventArgs)
Processes mouse leave.
Declaration
public virtual bool ProcessMouseLeave(EventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseMove(MouseEventArgs)
Processes mouse move.
Declaration
public virtual bool ProcessMouseMove(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseUp(MouseEventArgs)
Processes mouse up.
Declaration
public virtual bool ProcessMouseUp(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessMouseWheel(MouseEventArgs)
Processes mouse wheel.
Declaration
public virtual bool ProcessMouseWheel(MouseEventArgs e)
Parameters
System. The System. |
Returns
System.
|
ProcessSelection(GanttViewDataItem)
Processes the item for selection.
Declaration
protected virtual void ProcessSelection(GanttViewDataItem item)
Parameters
Gantt The item. |
ProcessSelection(GanttViewLinkDataItem)
Processes the item for selection.
Declaration
protected virtual void ProcessSelection(GanttViewLinkDataItem link)
Parameters
Gantt The item. |
SynchronizeItemElements()
Synchronizes all item elements.
Declaration
protected virtual void SynchronizeItemElements()
Update(RadGanttViewElement.UpdateActions)
Performs an update according the specified update action.
Declaration
public void Update(RadGanttViewElement.UpdateActions updateAction)
Parameters
Rad The update action. |
Update(RadGanttViewElement.UpdateActions, GanttViewDataItem[])
Updates the visual items in the gantt view
Declaration
public void Update(RadGanttViewElement.UpdateActions updateAction, params GanttViewDataItem[] items)
Parameters
Rad Indicates the update action |
Gantt Array representing the items which should be updated |
Update(RadGanttViewElement.UpdateActions, GanttViewLinkDataItem[])
Performs an update according the specified update action.
Declaration
public void Update(RadGanttViewElement.UpdateActions updateAction, params GanttViewLinkDataItem[] items)
Parameters
Rad The update action. |
Gantt The items. |
UpdateOnExpandedChanged(GanttViewDataItem)
Updates the instance when an item expanded state changes.
Declaration
protected virtual bool UpdateOnExpandedChanged(GanttViewDataItem item)
Parameters
Gantt The item. |
Returns
System.
|
UpdateScrollers(GanttViewDataItem, RadGanttViewElement.UpdateActions)
Updates the scrollers.
Declaration
protected virtual void UpdateScrollers(GanttViewDataItem skipItem, RadGanttViewElement.UpdateActions updateAction)
Parameters
Gantt The skip item. |
Rad The update action. |
UpdateScrollersOnAdd(GanttViewDataItem)
Updates the scrollers on add.
Declaration
protected virtual void UpdateScrollersOnAdd(GanttViewDataItem item)
Parameters
Gantt The item. |
Events
BindingContextChanged
Occurs when the binding context is changed.
Declaration
public event EventHandler BindingContextChanged
Event Type
System.
|
ContextMenuOpening
Occurs when a context menu is about to be opened.
Declaration
public event GanttViewContextMenuOpeningEventHandler ContextMenuOpening
Event Type
CreateDataItem
Occurs when a new data item is created.
Declaration
public event CreateGanttDataItemEventHandler CreateDataItem
Event Type
CreateLinkDataItem
Occurs when a new link data item is created.
Declaration
public event CreateGanttLinkDataItemEventHandler CreateLinkDataItem
Event Type
DataCellElementCreating
Occurs when a new data cell element needs to be created.
Declaration
public event GanttViewDataCellElementCreatingEventHandler DataCellElementCreating
Event Type
EditorInitialized
Occurs when an editor has been initialized.
Declaration
public event GanttViewItemEditorInitializedEventHandler EditorInitialized
Event Type
EditorRequired
Occurs when an editor is required to edit a cell the text view.
Declaration
public event GanttViewEditorRequiredEventHandler EditorRequired
Event Type
GraphicalViewItemFormatting
Occurs when the state of an item in the Gantt
Declaration
public event GanttViewGraphicalViewItemFormattingEventHandler GraphicalViewItemFormatting
Event Type
GraphicalViewLinkItemFormatting
Occurs when the state of a link item in the Gantt
Declaration
public event GanttViewLinkItemFormattingEventHandler GraphicalViewLinkItemFormatting
Event Type
HeaderCellElementCreating
Occurs when a new header cell element needs to be created.
Declaration
public event GanttViewHeaderCellElementCreatingEventHandler HeaderCellElementCreating
Event Type
ItemAdded
Occurs when a new item is added to the Items collection.
Declaration
public event GanttViewItemAddedEventHandler ItemAdded
Event Type
ItemAdding
Occurs before an Gantt
Declaration
public event GanttItemAddingEventHandler ItemAdding
Event Type
ItemChanged
Occurs when an item's property is changed.
Declaration
public event GanttViewItemChangedEventhandler ItemChanged
Event Type
ItemChildIdNeeded
Occurs when an item needs an id for storing in data sources.
Declaration
public event GanttViewItemChildIdNeededEventHandler ItemChildIdNeeded
Event Type
ItemDataBound
Occurs when an item is data bound.
Declaration
public event GanttViewItemDataBoundEventHandler ItemDataBound
Event Type
ItemDataError
Fired when there is an error in the data layer of RadGanttView related to data operations with Item objects.
Declaration
public event GanttItemDataErrorEventHandler ItemDataError
Event Type
ItemEdited
Occurs when an item has been edited.
Declaration
public event GanttViewItemEditedEventHandler ItemEdited
Event Type
ItemEditing
Occurs when an cell is about to be edited.
Declaration
public event GanttViewItemEditingEventHandler ItemEditing
Event Type
ItemElementCreating
Occurs when an item element needs to be created.
Declaration
public event GanttViewItemElementCreatingEventHandler ItemElementCreating
Event Type
ItemExpandedChanged
Occurs after an item is expanded or collapsed.
Declaration
public event GanttViewExpandedChangedEventHandler ItemExpandedChanged
Event Type
ItemExpandedChanging
Occurs when an item is about to be expanded or collapsed.
Declaration
public event GanttViewExpandedChangingEventHandler ItemExpandedChanging
Event Type
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
public event GanttViewItemPaintEventHandler ItemPaint
Event Type
ItemRemoved
Occurs when an item removed from the Items collection.
Declaration
public event GanttViewItemRemovedEventHandler ItemRemoved
Event Type
ItemValidated
Occurs when an item is validated.
Declaration
public event GanttViewItemValidatedEventHandler ItemValidated
Event Type
ItemValidating
Occurs when an item validating is edited and needs to be validated.
Declaration
public event GanttViewItemValidatingEventHandler ItemValidating
Event Type
LinkAdded
Occurs when a new link added to the Links collection.
Declaration
public event GanttViewLinkAddedEventHandler LinkAdded
Event Type
LinkAdding
Occurs before an Gantt
Declaration
public event GanttLinkAddingEventHandler LinkAdding
Event Type
LinkChanged
Occurs when a link's property is changed.
Declaration
public event GanttViewLinkChangedEventHandler LinkChanged
Event Type
LinkDataBound
Occurs when a link is data bound.
Declaration
public event GanttViewLinkDataBoundEventHandler LinkDataBound
Event Type
LinkDataError
Fired when there is an error in the data layer of RadGanttView related to data operations with Link objects.
Declaration
public event GanttLinkDataErrorEventHandler LinkDataError
Event Type
LinkRemoved
Occurs when a link is removed from the Links collection.
Declaration
public event GanttViewLinkRemovedEventHandler LinkRemoved
Event Type
RootCreated
Occurs when the root item is created.
Declaration
public event EventHandler RootCreated
Event Type
System.
|
SelectedItemChanged
Occurs when selected item has been changed.
Declaration
public event GanttViewSelectedItemChangedEventHandler SelectedItemChanged
Event Type
SelectedItemChanging
Occurs when the selected item is about to be changed.
Declaration
public event GanttViewSelectedItemChangingEventHandler SelectedItemChanging
Event Type
SelectedLinkChanged
Occurs when selected link has been changed.
Declaration
public event GanttViewSelectedLinkChangedEventHandler SelectedLinkChanged
Event Type
SelectedLinkChanging
Occurs when the selected link is about to be changed.
Declaration
public event GanttViewSelectedLinkChangingEventHandler SelectedLinkChanging
Event Type
TextViewCellFormatting
Occurs when the content of a cell needs to be formatted for display.
Declaration
public event GanttViewTextViewCellFormattingEventHandler TextViewCellFormatting
Event Type
TextViewItemFormatting
Occurs when the state of an item in the Gantt
Declaration
public event GanttViewTextViewItemFormattingEventHandler TextViewItemFormatting
Event Type
TimelineItemElementCreating
Occurs when a timeline item element needs to be created.
Declaration
public event GanttViewTimelineItemElementCreatingEventHandler TimelineItemElementCreating
Event Type
TimelineItemFormatting
Occurs when the state of a timeline item changes and it needs to be formatted.
Declaration
public event GanttViewTimelineItemFormattingEventHandler TimelineItemFormatting