Class GridViewRow
GridViewRow is an user interface (UI) element used as a container for GridViewCells objects.
Inherited Members
Namespace: Telerik.Windows.Controls.GridView
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class GridViewRow : GridViewRowItem, IRowItem, IHorizontallyScrollable, ILayoutObserver, IScrollContentElement, IVirtualizedContainer
Constructors
GridViewRow()
Fields
DetailsProviderProperty
Identifies the DetailsProvider dependency property.
Declaration
public static readonly DependencyProperty DetailsProviderProperty
Field Value
System.
|
DetailsTemplateProperty
Identifies the DetailsTemplate dependency property.
Declaration
public static readonly DependencyProperty DetailsTemplateProperty
Field Value
System.
|
DetailsVisibilityProperty
Identifies the DetailsVisibility dependency property.
Declaration
public static readonly DependencyProperty DetailsVisibilityProperty
Field Value
System.
|
DisplayVisualCuesProperty
Identifies the Display
Declaration
public static readonly DependencyProperty DisplayVisualCuesProperty
Field Value
System.
|
ErrorsProperty
Identifies the Errors dependency property.
Declaration
public static readonly DependencyProperty ErrorsProperty
Field Value
System.
|
IsExpandableProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsExpandableProperty
Field Value
System.
|
IsExpandedChangedEvent
Identifies the Is
Declaration
public static readonly RoutedEvent IsExpandedChangedEvent
Field Value
System.
|
IsExpandedChangingEvent
Identifies the Is
Declaration
public static readonly RoutedEvent IsExpandedChangingEvent
Field Value
System.
|
IsExpandedProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsExpandedProperty
Field Value
System.
|
IsInEditModeProperty
Declaration
public static readonly DependencyProperty IsInEditModeProperty
Field Value
System.
|
IsPinnedProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsPinnedProperty
Field Value
System.
|
IsValidProperty
Identifies the Is
Declaration
public static readonly DependencyProperty IsValidProperty
Field Value
System.
|
MouseOverBackgroundProperty
Identifies the Mouse
Declaration
public static readonly DependencyProperty MouseOverBackgroundProperty
Field Value
System.
|
SelectedBackgroundProperty
Identifies the Selected
Declaration
public static readonly DependencyProperty SelectedBackgroundProperty
Field Value
System.
|
Properties
ActionOnLostFocus
Gets or sets the action on lost focus.
Declaration
public override ActionOnLostFocus ActionOnLostFocus { get; }
Property Value
Action The action on lost focus. |
Overrides
ChildDataControls
Gets the child GridViewDataControl instances that wrap child hierarchy tables.
Declaration
public IList<GridViewDataControl> ChildDataControls { get; }
Property Value
System.
|
DetailsProvider
Gets or sets the DetailsProvider for this row.
Declaration
public IDetailsProvider DetailsProvider { get; }
Property Value
DetailsTemplate
Gets or sets the DataTemplate used to display the details section of a row.
Declaration
public DataTemplate DetailsTemplate { get; set; }
Property Value
System.
|
DetailsVisibility
Gets or sets the Visibility for the details of this row.
Declaration
public Nullable<Visibility> DetailsVisibility { get; set; }
Property Value
System.
|
DisplayVisualCues
Gets a value indicating whether this instance should display visual cues for selection, validation, etc.
Declaration
public bool DisplayVisualCues { get; }
Property Value
System.
|
Errors
Gets the errors via IDataErrorInfo and INotifyDataErrorInfo.
Declaration
public IEnumerable Errors { get; }
Property Value
System. The errors. |
IsExpandable
Gets or sets a value indicating whether the row is expandable or not (hierarchy).
Declaration
public bool IsExpandable { get; set; }
Property Value
System.
|
IsExpanded
Gets or sets a value indicating whether the row is expanded or not (hierarchy).
Declaration
public bool IsExpanded { get; set; }
Property Value
System.
|
IsInEditMode
Declaration
public bool IsInEditMode { get; set; }
Property Value
System.
|
IsPinned
Gets or sets a value that indicates whether the row is pinned or not. If true, the row will stay at the top or bottom while scrolling.
Declaration
public bool IsPinned { get; set; }
Property Value
System.
|
IsValid
Gets a value indicating whether this instance content is valid.
Declaration
public bool IsValid { get; }
Property Value
System.
|
MouseOverBackground
Gets or sets the Brush that is used to paint the background of the row when it is in MouseOver state.
Declaration
public Brush MouseOverBackground { get; set; }
Property Value
System.
|
SelectedBackground
Gets or sets the Brush that is used to paint the background of the row when it is selected.
Declaration
public Brush SelectedBackground { get; set; }
Property Value
System.
|
Methods
BeginEdit()
CancelEdit()
Cancels the edit of the row.
Declaration
public virtual void CancelEdit()
CommitEdit()
Commits a currently edited row.
Declaration
public bool CommitEdit()
Returns
System. true if successful; otherwise false. |
CreateIndentItem()
Creates the item that fills in the indentation.
Declaration
public override ContentControl CreateIndentItem()
Returns
System.
|
Overrides
CreateItem()
Generates cell containers for GridViewRow.
Declaration
protected override GridViewCellBase CreateItem()
Returns
Overrides
GetCellFromPropertyName(String)
Finds first GridViewCell which is related to the specified property.
Declaration
public GridViewCell GetCellFromPropertyName(string propertyName)
Parameters
System. Name of the property. |
Returns
IsSelectable()
Determines whether this instance is selectable.
Declaration
protected override bool IsSelectable()
Returns
System.
|
Overrides
OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnHasHierarchyChanged()
Called when HasHierarchy property has changed.
Declaration
protected override void OnHasHierarchyChanged()
Overrides
OnInitialized(EventArgs)
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.
|
OnIsAlternatingChanged(Boolean, Boolean)
Called when IsAlternating property changes.
Declaration
protected override void OnIsAlternatingChanged(bool oldValue, bool newValue)
Parameters
System. New value. |
System. Old value. |
Overrides
OnIsExpandedChanged(Boolean, Boolean)
Called when the GridViewRow's IsExpanded property changes.
Declaration
protected virtual void OnIsExpandedChanged(bool oldValue, bool newValue)
Parameters
System. The old value of the IsExpanded property. |
System. The new value of the IsExpanded property. |
OnItemChanged(Object, Object)
Called when the value of the Item property changes.
Declaration
protected override void OnItemChanged(object oldItem, object newItem)
Parameters
System. The old value of Item. |
System. The new value of Item. |
Overrides
OnMouseDoubleClick(MouseButtonEventArgs)
Declaration
protected override void OnMouseDoubleClick(MouseButtonEventArgs e)
Parameters
System.
|
OnMouseEnter(MouseEventArgs)
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.
|
Overrides
OnMouseLeave(MouseEventArgs)
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.
|
OnMouseLeftButtonDown(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonDown(MouseButtonEventArgs e)
Parameters
System.
|
OnMouseLeftButtonUp(MouseButtonEventArgs)
Declaration
protected override void OnMouseLeftButtonUp(MouseButtonEventArgs e)
Parameters
System.
|
SelectionPropertyChanged(Object, DependencyPropertyChangedEventArgs)
Called when the selection was changed.
Declaration
protected override void SelectionPropertyChanged(object sender, DependencyPropertyChangedEventArgs rowSelectionArgs)
Parameters
System. The sender. |
System. The System. |
Overrides
ToString()
Declaration
public override string ToString()
Returns
System.
|
Events
IsExpandedChanged
Occurs when GridViewRow changes its Is
Declaration
public event RoutedEventHandler IsExpandedChanged
Event Type
System.
|
IsExpandedChanging
Occurs when GridViewRow is about to change its Is
Declaration
public event EventHandler<CancelRoutedEventArgs> IsExpandedChanging
Event Type
System.
|