Class
RadGanttView

Represents the Silverlight RadGanttView control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Xaml.Wpf

Assembly:Telerik.WebAii.Controls.Xaml.Wpf.dll

Syntax:

cs-api-definition
public class RadGanttView : Control, IAutomationPeer, IPeerConverter, IRadGanttView, IControl, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlRadGanttView

Implements: IAutomationPeerIControlIFrameworkElementIPeerConverterIRadGanttViewITargetElement

Inherited Members Control.BorderBrushPropertyControl.BorderThicknessPropertyControl.BackgroundPropertyControl.ForegroundPropertyControl.FontSizePropertyControl.HorizontalContentAlignmentPropertyControl.VerticalContentAlignmentPropertyControl.TabIndexPropertyControl.IsTabStopPropertyControl.PaddingPropertyControl.FontFamilyPropertyControl.FontStretchPropertyControl.FontStylePropertyControl.FontWeightPropertyControl.GetRealType()Control.BorderBrushControl.BorderThicknessControl.BackgroundControl.ForegroundControl.FontSizeControl.HorizontalContentAlignmentControl.VerticalContentAlignmentControl.TabIndexControl.IsTabStopControl.PaddingControl.FontFamilyControl.FontStretchControl.FontStyleControl.FontWeightWpfTestElement.OverridesDefaultStylePropertyWpfTestElement.BindingGroupPropertyWpfTestElement.InputScopePropertyWpfTestElement.LayoutTransformPropertyWpfTestElement.FlowDirectionPropertyWpfTestElement.ForceCursorPropertyWpfTestElement.ContextMenuPropertyWpfTestElement.IsMouseDirectlyOverPropertyWpfTestElement.IsMouseOverPropertyWpfTestElement.IsStylusOverPropertyWpfTestElement.IsKeyboardFocusWithinPropertyWpfTestElement.IsMouseCapturedPropertyWpfTestElement.IsMouseCaptureWithinPropertyWpfTestElement.IsStylusDirectlyOverPropertyWpfTestElement.IsStylusCapturedPropertyWpfTestElement.IsStylusCaptureWithinPropertyWpfTestElement.IsKeyboardFocusedPropertyWpfTestElement.AllowDropPropertyWpfTestElement.ClipToBoundsPropertyWpfTestElement.SnapsToDevicePixelsPropertyWpfTestElement.IsFocusedPropertyWpfTestElement.IsEnabledPropertyWpfTestElement.IsVisiblePropertyWpfTestElement.FocusablePropertyWpfTestElement.OverridesDefaultStyleWpfTestElement.BindingGroupWpfTestElement.InputScopeWpfTestElement.FlowDirectionWpfTestElement.ForceCursorWpfTestElement.ContextMenuWpfTestElement.IsMouseDirectlyOverWpfTestElement.IsMouseOverWpfTestElement.IsStylusOverWpfTestElement.IsKeyboardFocusWithinWpfTestElement.IsMouseCapturedWpfTestElement.IsMouseCaptureWithinWpfTestElement.IsStylusDirectlyOverWpfTestElement.IsStylusCapturedWpfTestElement.IsStylusCaptureWithinWpfTestElement.IsKeyboardFocusedWpfTestElement.AllowDropWpfTestElement.ClipToBoundsWpfTestElement.SnapsToDevicePixelsWpfTestElement.IsFocusedWpfTestElement.IsEnabledWpfTestElement.IsVisibleWpfTestElement.FocusableWpfTestElement.ComputedVisibilityFrameworkElement.ActualWidthPropertyFrameworkElement.ActualHeightPropertyFrameworkElement.WidthPropertyFrameworkElement.HeightPropertyFrameworkElement.MinWidthPropertyFrameworkElement.MaxWidthPropertyFrameworkElement.MinHeightPropertyFrameworkElement.MaxHeightPropertyFrameworkElement.HorizontalAlignmentPropertyFrameworkElement.VerticalAlignmentPropertyFrameworkElement.MarginPropertyFrameworkElement.DesiredSizePropertyFrameworkElement.RenderSizePropertyFrameworkElement.NamePropertyFrameworkElement.TagPropertyFrameworkElement.DataContextPropertyFrameworkElement.OpacityPropertyFrameworkElement.ClipPropertyFrameworkElement.RenderTransformPropertyFrameworkElement.OpacityMaskPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.IsHitTestVisiblePropertyFrameworkElement.VisibilityPropertyFrameworkElement.GetIdentifier(out string, out string)FrameworkElement.IsChild(FrameworkElement)FrameworkElement.GetChildTagIndex(FrameworkElement)FrameworkElement.InitializeMappings(MappingsCollection)FrameworkElement.As<T>()FrameworkElement.CastAs<T>()FrameworkElement.SetProxy(bool)FrameworkElement.SetUid(string)FrameworkElement.SetFindInfo(VisualFindInfo)FrameworkElement.SetXamlTag(string)FrameworkElement.KeyPress(Keys, int, int, int)FrameworkElement.GetRectangle()FrameworkElement.GetRectangle(FrameworkElement)FrameworkElement.GetIntRectangle()FrameworkElement.IsHitTest()FrameworkElement.IsHitTest(bool)FrameworkElement.IsHitTest(FrameworkElement, bool)FrameworkElement.Highlight()FrameworkElement.Highlight(bool)FrameworkElement.Parent()FrameworkElement.Parent<T>()FrameworkElement.Parent(string)FrameworkElement.Parent(string, bool)FrameworkElement.GetNextSibling()FrameworkElement.GetPrevSibling()FrameworkElement.NextSibling(string)FrameworkElement.NextSibling<T>()FrameworkElement.PreviousSibling(string)FrameworkElement.PreviousSibling<T>()FrameworkElement.AnySibling<T>()FrameworkElement.AnySibling(string)FrameworkElement.GetScreenRectangle()FrameworkElement.ScrollToVisible()FrameworkElement.ScrollToVisible(ScrollToVisibleType)FrameworkElement.EnsureClickable()FrameworkElement.ToXml()FrameworkElement.Refresh()FrameworkElement.Equals(object)FrameworkElement.GetHashCode()FrameworkElement.GetProperties()FrameworkElement.GetAttachedProperty<T>(string, string)FrameworkElement.SetAttachedProperty<T>(string, string, T)FrameworkElement.SetFocus()FrameworkElement.ValidateMouseLocationIfNeeded(Point)FrameworkElement.GetStringPresentation()FrameworkElement.ToRealObject()FrameworkElement.FromRealObject(object)FrameworkElement.ValidateType(Type, string)FrameworkElement.GetKnownControlTypes(TechnologyType)FrameworkElement.RegisterElement(Type, string)FrameworkElement.InitKnownWpfControlTypes()FrameworkElement.InitKnownSilverlightControlTypes()FrameworkElement.InitKnownXamlControlTypes(Type)FrameworkElement.GetControlTypeFromInterface(Type)FrameworkElement.Match(IFindExpression)FrameworkElement.SetDepth(int)FrameworkElement.AddChildNode(ITargetElement)FrameworkElement.SetClosingTag(ITargetElement)FrameworkElement.GetChildren()FrameworkElement.GetParent()FrameworkElement.GetHostParent()FrameworkElement.SetParent(ITargetElement)FrameworkElement.GetUniqueHashCode()FrameworkElement.ToString()FrameworkElement.Capture()FrameworkElement.CaptureImage()FrameworkElement.GetProperty<T>(string)FrameworkElement.GetPropertyTypeSafe(string)FrameworkElement.GetAutomationProperty(string)FrameworkElement.SetProperty(string, object)FrameworkElement.ActualWidthFrameworkElement.ActualHeightFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.MinWidthFrameworkElement.MaxWidthFrameworkElement.MinHeightFrameworkElement.MaxHeightFrameworkElement.HorizontalAlignmentFrameworkElement.VerticalAlignmentFrameworkElement.MarginFrameworkElement.DesiredSizeFrameworkElement.RenderSizeFrameworkElement.NameFrameworkElement.OpacityFrameworkElement.ClipFrameworkElement.RenderTransformFrameworkElement.OpacityMaskFrameworkElement.RenderTransformOriginFrameworkElement.IsHitTestVisibleFrameworkElement.VisibilityFrameworkElement.UidFrameworkElement.MappingsFrameworkElement.AutomationIdFrameworkElement.XamlTagBaseFrameworkElement.TextFrameworkElement.TextBlockContentFrameworkElement.TextLiteralContentFrameworkElement.UserFrameworkElement.XamlTagFrameworkElement.WaitFrameworkElement.FindFrameworkElement.ApplicationFrameworkElement.AbsoluteTagIndexFrameworkElement.TagNameIndexFrameworkElement.AbsoluteSiblingTagIndexFrameworkElement.EnableValidateMouseLocationFrameworkElement.ToolTipTextFrameworkElement.ChildrenFrameworkElement.TechnologyTypeFrameworkElement.DepthFrameworkElement.IsTestRegionFrameworkElement.ParsedElementFrameworkElement.HostAutomationObject<FrameworkElement>.GetProperty(AutomationProperty)AutomationObject<FrameworkElement>.GetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.SetProperty(AutomationProperty, object)AutomationObject<FrameworkElement>.InvokeMethod(AutomationMethod, params object[])AutomationObject<FrameworkElement>.InvokeMethod(string, params object[])AutomationObject<FrameworkElement>.Serialize()AutomationObject<FrameworkElement>.Deserialize(string)AutomationObject<FrameworkElement>.ReferenceAutomationObject<FrameworkElement>.PropertyBag

Constructors

RadGanttView()

Initializes a new instance of the RadGanttView class.

Declaration

cs-api-definition
public RadGanttView()

Properties

CellsPanel

The GanttView panel holding the cells (not frozen cells).

Declaration

cs-api-definition
public GanttVirtulizedPanel CellsPanel { get; }

Property Value

GanttVirtulizedPanel

FrozeCellsPanel

The GanttView panel holding the frozen cells.

Declaration

cs-api-definition
public GanttVirtulizedPanel FrozeCellsPanel { get; }

Property Value

GanttVirtulizedPanel

FrozenColumns

Gets the collection of the GantView Frozen Columns.

Declaration

cs-api-definition
public IList<FrameworkElement> FrozenColumns { get; }

Property Value

IList<FrameworkElement>

Implements IRadGanttView.FrozenColumns

Milestones

Get the list of RadGanttView milestones.

Declaration

cs-api-definition
public IList<Milestone> Milestones { get; }

Property Value

IList<Milestone>

Rows

Get the list of RadGanttView Rows.

Declaration

cs-api-definition
public List<GanttRow> Rows { get; }

Property Value

List<GanttRow>

Implements IRadGanttView.Rows

ShouldRefreshRows

Indicates whether the GanttRows should be updated the next time Rows property is called.

Declaration

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

Property Value

bool

Implements IRadGanttView.ShouldRefreshRows

SimpleColumns

Gets the collection of the GantView Simple Columns.

Declaration

cs-api-definition
public IList<FrameworkElement> SimpleColumns { get; }

Property Value

IList<FrameworkElement>

Implements IRadGanttView.SimpleColumns

Summaries

Get the list of RadGanttView summaries.

Declaration

cs-api-definition
public IList<Summary> Summaries { get; }

Property Value

IList<Summary>

Tasks

Get the list of RadGanttView tasks.

Declaration

cs-api-definition
public IList<Task> Tasks { get; }

Property Value

IList<Task>

TimeLinePanel

The GanttView panel holding the TimeLine items.

Declaration

cs-api-definition
public GanttVirtulizedPanel TimeLinePanel { get; }

Property Value

GanttVirtulizedPanel

Methods

AreOnTheSameRow(FrameworkElement, FrameworkElement)

Check if two elements are in the same row.

Declaration

cs-api-definition
public bool AreOnTheSameRow(FrameworkElement firstElement, FrameworkElement secondElement)

Parameters

firstElement

FrameworkElement

secondElement

FrameworkElement

Returns

bool

Implements IRadGanttView.AreOnTheSameRow(FrameworkElement, FrameworkElement)

AssignReference(AutomationReference)

Assign the reference and perform your custom class initialization.

Declaration

cs-api-definition
public override void AssignReference(AutomationReference reference)

Parameters

reference

AutomationReference

Overrides FrameworkElement.AssignReference(AutomationReference)

Implements IFrameworkElement.AssignReference(AutomationReference)

GetCellByText(string)

Gets GanttView cell by given text.

Declaration

cs-api-definition
public GanttCell GetCellByText(string text)

Parameters

text

string

Returns

GanttCell

Returns the first cell with given text found. Returns null if no such cell is found.

GetTaskByTitle(string)

Gets task by title.

Declaration

cs-api-definition
public Task GetTaskByTitle(string title)

Parameters

title

string

The title of the task.

Returns

Task

Returns the first found Task with given title. If not tasks are found retunrs null.

IsCellSelected(int, int)

Check if a cell with spesific cordinates is selected

Declaration

cs-api-definition
public bool IsCellSelected(int row, int col)

Parameters

row

int

The index of the row in which the cell is located.

col

int

The index of the column in which the cell is located.

Returns

bool

Implements IRadGanttView.IsCellSelected(int, int)

IsRowSelected(int)

Check if a row with spesific index is selected ///

Declaration

cs-api-definition
public bool IsRowSelected(int index)

Parameters

index

int

The index of the row that should be checked.

Returns

bool

Implements IRadGanttView.IsRowSelected(int)

SelectCell(int, int)

Selects a spesific cell of the GanttView by cordinates

Declaration

cs-api-definition
public void SelectCell(int row, int col)

Parameters

row

int

The index of the row in which the cell is located.

col

int

The index of the column in which the cell is located.

Implements IRadGanttView.SelectCell(int, int)

SelectRow(int)

Selects a spesific row of the GanttView by index

Declaration

cs-api-definition
public bool SelectRow(int index)

Parameters

index

int

The index of the row that shoudl be selected.

Returns

bool

Implements IRadGanttView.SelectRow(int)