Class
RadGridView

Represents the RadGridView for Silverlight/WPF control wrapper.

Definition

Namespace:Telerik.WebAii.Controls.Xaml.Wpf

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

Syntax:

cs-api-definition
public class RadGridView : GridViewDataControl, IAutomationPeer, IPeerConverter, IRadGridView, IGridViewDataControl, IControl, IFrameworkElement, ITargetElement

Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlGridViewDataControlRadGridView

Derived Classes: FileBrowserGridView

Implements: IAutomationPeerIControlIFrameworkElementIGridViewDataControlIPeerConverterIRadGridViewITargetElement

Inherited Members GridViewDataControl.ShowNewRow(int)GridViewDataControl.HideNewRow()GridViewDataControl.CommitNewRow(string)GridViewDataControl.AddNewRow(string)GridViewDataControl.HeaderClick(int)GridViewDataControl.ScrollVertically(int, MouseWheelTurnDirection, bool)GridViewDataControl.ScrollHorizontally(int)GridViewDataControl.ScrollVerticallyWithScrollThumb(int)GridViewDataControl.HeaderRowGridViewDataControl.NewRowGridViewDataControl.VerticalScrollBarGridViewDataControl.HorizontalScrollBarGridViewDataControl.FooterRowGridViewDataControl.RowIndicatorVisibilityGridViewDataControl.SelectedItemGridViewDataControl.CurrentItemGridViewDataControl.IsReadOnlyGridViewDataControl.CanUserSelectGridViewDataControl.VirtualizingPanelControl.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

RadGridView()

Declaration

cs-api-definition
public RadGridView()

Properties

GroupHeaderRows

Get the list of RadGridView group header rows.

Declaration

cs-api-definition
public IList<GroupHeaderRow> GroupHeaderRows { get; }

Property Value

IList<GroupHeaderRow>

GroupPanel

Get the RadGridView group panel.

Declaration

cs-api-definition
public GridViewGroupPanel GroupPanel { get; }

Property Value

GridViewGroupPanel

GroupRows

Get the list of RadGridView group rows.

Declaration

cs-api-definition
public IList<GridViewGroupRow> GroupRows { get; }

Property Value

IList<GridViewGroupRow>

Rows

Get the list of RadGridView rows.

Declaration

cs-api-definition
public override IList<GridViewRow> Rows { get; }

Property Value

IList<GridViewRow>

Overrides GridViewDataControl.Rows

SearchPanel

The Search panel of the RadGridView.

Declaration

cs-api-definition
public GridViewSearchPanel SearchPanel { get; }

Property Value

GridViewSearchPanel

Methods

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 GridViewDataControl.AssignReference(AutomationReference)

Implements IFrameworkElement.AssignReference(AutomationReference)

CollapseGroupHeaderRow(string)

Collapse GroupHeaderRow with the given header content.

Declaration

cs-api-definition
public void CollapseGroupHeaderRow(string header)

Parameters

header

string

CollapseGroupRow(int)

Collapse the group row with the given index.

Declaration

cs-api-definition
public void CollapseGroupRow(int rowIndex)

Parameters

rowIndex

int

Group row index.

ExpandGroupHeaderRow(string)

Expand GroupHeaderRow with the given header content.

Declaration

cs-api-definition
public void ExpandGroupHeaderRow(string header)

Parameters

header

string

ExpandGroupRow(int)

Expand the group row with the given index.

Declaration

cs-api-definition
public void ExpandGroupRow(int rowIndex)

Parameters

rowIndex

int

Group row index.

GroupBy(int)

Group the grid dragging the header cell with the given index.

Declaration

cs-api-definition
public void GroupBy(int headerCellIndex)

Parameters

headerCellIndex

int

Header cell index.

GroupPanelItemClose(int)

Close the group panel item with the given index.

Declaration

cs-api-definition
public void GroupPanelItemClose(int groupPanelItemIndex)

Parameters

groupPanelItemIndex

int

Group panel item index.

OpenSearchPanel()

Presses Ctrl+F in order to open the SearchPanel.

Declaration

cs-api-definition
public void OpenSearchPanel()

Search(string, bool, bool, bool)

Types a spesific text in the SearchTextBox located in the SearchPanel. If the SearchPanel is not visible, Ctrl+F is pressed in order to be shown.

Declaration

cs-api-definition
public void Search(string textToSearch, bool clickFirst = true, bool simulateRealUser = true, bool shouldPressEnter = false)

Parameters

textToSearch

string

The text to be typed.

clickFirst

bool

Indicates whether the SearchTextBox should be clicked before typing in it.

simulateRealUser

bool

Indicates whether the typing should simulate real user. When set to false the Text of the TextBox is set directly.

shouldPressEnter

bool

Indicates whether "Enter" should be pressed after the text is typed.