Represents the visual cell element for the search functionality in RadGridView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridSearchCellElement : GridCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementGridVisualElementConditionalFormattableGridVisualElementGridCellElementGridSearchCellElement...
Implements:
Inherited Members
Constructors
Initializes a new instance of the GridCellElement class.
public GridSearchCellElement(GridViewColumn column, GridRowElement row)
An instance of GridViewColumn.
rowGridRowElementAn instance of GridRowElement.
Fields
protected StackLayoutPanel buttonsStack
public static RadProperty DistanceBetweenNextAndPreviousButtonProperty
Properties
Gets whether it can update the info.
protected override bool CanUpdateInfo { get; }
The can update info.
Overrides:
Gets the choose columns menu item.
public RadMenuItem ChooseColumnsMenuItem { get; }
The choose columns menu item.
Gets the close button.
public LightVisualButtonElement CloseButton { get; }
The close button.
Gets or sets the distance between next and previous button.
public int DistanceBetweenNextAndPreviousButton { get; set; }
The distance between next and previous button.
Gets the find next button.
public GridSearchCellButtonElement FindNextButton { get; }
The find next button.
Gets the find previous button.
public GridSearchCellButtonElement FindPreviousButton { get; }
The find previous button.
Gets the match case menu item.
public RadMenuItem MatchCaseMenuItem { get; }
The match case menu item.
Gets the options button.
public RadDropDownButtonElement OptionsButton { get; }
The options button.
Gets or sets the width of the search box.
public int SearchBoxWidth { get; set; }
The width of the search box.
Gets the search from current position menu item.
public RadMenuItem SearchFromCurrentPositionMenuItem { get; }
The search from current position menu item.
Gets the search text box.
public GridSearchCellTextBoxElement SearchTextBox { get; }
The search text box.
Gets or sets the text input delay.
public int TextInputDelay { get; set; }
The text input delay.
Gets the waiting bar.
public RadWaitingBarElement WaitingBar { get; }
The waiting bar.
Gets or sets the height of the waiting bar.
public int WaitingBarHeight { get; set; }
The height of the waiting bar.
Methods
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
Creates the choose columns menu item.
Creates the close button.
Creates the find next button.
protected virtual GridSearchCellButtonElement CreateFindNextButton()
Creates the find previous button.
protected virtual GridSearchCellButtonElement CreateFindPreviousButton()
Creates the match case menu item.
Creates the options button.
protected virtual RadDropDownButtonElement CreateOptionsButton()
Creates the search from current position menu item.
Creates the search text box.
protected virtual GridSearchCellTextBoxElement CreateSearchTextBox()
Creates the waiting bar element.
Disposes the managed resources.
protected override void DisposeManagedResources()
Overrides:
Initializes the cell with specified column and row
public override void Initialize(GridViewColumn column, GridRowElement row)
An instance of GridViewColumn.
rowGridRowElementAn instance of GridRowElement.
Overrides:
Searches this instance.
protected virtual void Search()
Searches the specified sync criteria.
protected virtual void searchRow_SearchProgressChanged(object sender, SearchProgressChangedEventArgs e)
Syncs the criteria to text box.
protected virtual void SyncCriteriaToTextBox(GridViewSearchRowInfo searchRow)
The search row.
Syncs the label text.
protected virtual void SyncLabelText()
Updates the visual state of the cell.
protected override void UpdateInfoCore()
Overrides: