ClassGridViewDataControl
Represents the GridViewDataControl for Silverlight/WPF control wrapper.
Definition
Namespace:Telerik.WebAii.Controls.Xaml.Wpf
Assembly:Telerik.WebAii.Controls.Xaml.Wpf.dll
Syntax:
public class GridViewDataControl : Control, IAutomationPeer, IPeerConverter, IGridViewDataControl, IControl, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlGridViewDataControl
Derived Classes:
Implements:
Inherited Members
Constructors
GridViewDataControl()
Declaration
public GridViewDataControl()
Properties
CanUserSelect
Gets a value indicating whether the RadGridView can be edited.
CurrentItem
Gets the current item.
FooterRow
Get the RadGridView footer row.
Declaration
public GridViewFooterRow FooterRow { get; }
Property Value
GroupPanel
Get the RadGridView group panel.
Declaration
public GridViewGroupPanel GroupPanel { get; }
Property Value
HeaderRow
Get the RadGridView header row.
Declaration
public GridViewHeaderRow HeaderRow { get; }
Property Value
HorizontalScrollBar
Get the RadGridView horizontal scrollbar.
Declaration
public ScrollBar HorizontalScrollBar { get; }
Property Value
IsReadOnly
Gets a value indicating whether the RadGridView can be edited.
NewRow
Get the RadGridView new row.
RowIndicatorVisibility
Gets or sets the row indicator visibility.
Declaration
public Visibility RowIndicatorVisibility { get; }
Property Value
The row indicator visibility.
Rows
Get the list of RadGridView rows.
Declaration
public virtual IList<GridViewRow> Rows { get; }
Property Value
SelectedItem
Gets the Selected item.
VerticalScrollBar
Get the RadGridView vertical scrollbar.
VirtualizingPanel
Get the RadGridView virtualizing panel.
Declaration
protected FrameworkElement VirtualizingPanel { get; }
Property Value
Methods
AddNewRow(string)
Insert new row and commits the edit of the new row.
AssignReference(AutomationReference)
Assign the reference and perform your custom class initialization.
Declaration
public override void AssignReference(AutomationReference reference)
Parameters
reference
Overrides
Implements
CommitNewRow(string)
Commits the edit of the new row.
GroupBy(int)
Group the grid dragging the header cell with the given index.
Declaration
public void GroupBy(int headerCellIndex)
Parameters
headerCellIndex
Header cell index.
GroupPanelItemClose(int)
Close the group panel item with the given index.
Declaration
public void GroupPanelItemClose(int groupPanelItemIndex)
Parameters
groupPanelItemIndex
Group panel item index.
HeaderClick(int)
Simulates user clicking on a header cell and refreshes the grid.
Declaration
public void HeaderClick(int headerCellIndex)
Parameters
headerCellIndex
ScrollHorizontally(int)
Drags the horizontal scrollbar thumb to scroll with the given offset.
Declaration
public void ScrollHorizontally(int offset)
Parameters
offset
The offset to drag the scrollbar thumb with. Accepts either positive (right scroll) or negative (left) value.
Exceptions
Thrown when the scrollbar is not visible.
ScrollVertically(int, MouseWheelTurnDirection, bool)
Scroll the gridview content using the mouse wheel.
Declaration
public void ScrollVertically(int offset, MouseWheelTurnDirection direction, bool clickOrNot)
Parameters
offset
direction
clickOrNot
ScrollVerticallyWithScrollThumb(int)
Drags the vertical scrollbar thumb to scroll with the given offset.
Declaration
public void ScrollVerticallyWithScrollThumb(int offset)
Parameters
offset
The offset to drag the scrollbar thumb with. Accepts either positive (up scroll) or negative (down) value.
Exceptions
Thrown when the scrollbar is not visible.
ShowNewRow(int)
Insert new row.