ClassGridSearchCellElement
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
GridSearchCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridCellElement class.
Declaration
public GridSearchCellElement(GridViewColumn column, GridRowElement row)
Parameters
column
An instance of GridViewColumn.
row
An instance of GridRowElement.
Fields
DistanceBetweenNextAndPreviousButtonProperty
Declaration
public static RadProperty DistanceBetweenNextAndPreviousButtonProperty
Field Value
Properties
CanUpdateInfo
Gets whether it can update the info.
Declaration
protected override bool CanUpdateInfo { get; }
Property Value
The can update info.
Overrides
ChooseColumnsMenuItem
Gets the choose columns menu item.
Declaration
public RadMenuItem ChooseColumnsMenuItem { get; }
Property Value
The choose columns menu item.
CloseButton
Gets the close button.
Declaration
public LightVisualButtonElement CloseButton { get; }
Property Value
The close button.
DistanceBetweenNextAndPreviousButton
Gets or sets the distance between next and previous button.
Declaration
public int DistanceBetweenNextAndPreviousButton { get; set; }
Property Value
The distance between next and previous button.
FindNextButton
Gets the find next button.
Declaration
public GridSearchCellButtonElement FindNextButton { get; }
Property Value
The find next button.
FindPreviousButton
Gets the find previous button.
Declaration
public GridSearchCellButtonElement FindPreviousButton { get; }
Property Value
The find previous button.
MatchCaseMenuItem
Gets the match case menu item.
Declaration
public RadMenuItem MatchCaseMenuItem { get; }
Property Value
The match case menu item.
OptionsButton
Gets the options button.
Declaration
public RadDropDownButtonElement OptionsButton { get; }
Property Value
The options button.
SearchBoxWidth
Gets or sets the width of the search box.
Declaration
public int SearchBoxWidth { get; set; }
Property Value
The width of the search box.
SearchFromCurrentPositionMenuItem
Gets the search from current position menu item.
Declaration
public RadMenuItem SearchFromCurrentPositionMenuItem { get; }
Property Value
The search from current position menu item.
SearchTextBox
Gets the search text box.
Declaration
public GridSearchCellTextBoxElement SearchTextBox { get; }
Property Value
The search text box.
TextInputDelay
Gets or sets the text input delay.
Declaration
public int TextInputDelay { get; set; }
Property Value
The text input delay.
WaitingBar
Gets the waiting bar.
Declaration
public RadWaitingBarElement WaitingBar { get; }
Property Value
The waiting bar.
WaitingBarHeight
Gets or sets the height of the waiting bar.
Declaration
public int WaitingBarHeight { get; set; }
Property Value
The height of the waiting bar.
Methods
ArrangeOverride(SizeF)
Arranges the element in the available size.
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateChooseColumnsMenuItem()
Creates the choose columns menu item.
Declaration
protected virtual RadMenuItem CreateChooseColumnsMenuItem()
Returns
CreateCloseButton()
Creates the close button.
Declaration
protected virtual LightVisualButtonElement CreateCloseButton()
Returns
CreateFindNextButton()
Creates the find next button.
Declaration
protected virtual GridSearchCellButtonElement CreateFindNextButton()
Returns
CreateFindPreviousButton()
Creates the find previous button.
Declaration
protected virtual GridSearchCellButtonElement CreateFindPreviousButton()
Returns
CreateMatchCaseMenuItem()
Creates the match case menu item.
Declaration
protected virtual RadMenuItem CreateMatchCaseMenuItem()
Returns
CreateOptionsButton()
Creates the options button.
Declaration
protected virtual RadDropDownButtonElement CreateOptionsButton()
Returns
CreateSearchFromCurrentPositionMenuItem()
Creates the search from current position menu item.
Declaration
protected virtual RadMenuItem CreateSearchFromCurrentPositionMenuItem()
Returns
CreateSearchTextBox()
Creates the search text box.
Declaration
protected virtual GridSearchCellTextBoxElement CreateSearchTextBox()
Returns
CreateWaitingBarElement()
Creates the waiting bar element.
Declaration
protected virtual RadWaitingBarElement CreateWaitingBarElement()
Returns
DisposeManagedResources()
Disposes the managed resources.
Declaration
protected override void DisposeManagedResources()
Overrides
Initialize(GridViewColumn, GridRowElement)
Initializes the cell with specified column and row
Declaration
public override void Initialize(GridViewColumn column, GridRowElement row)
Parameters
column
An instance of GridViewColumn.
row
An instance of GridRowElement.
Overrides
MeasureOverride(SizeF)
Measures the element in the available size.
RemoveUnicodeControlCharacters(string)
Removes the unicode control characters.
Search(bool)
Searches the specified sync criteria.
Declaration
protected virtual void Search(bool syncCriteria)
Parameters
syncCriteria
The sync criteria.
SyncCriteriaToTextBox(GridViewSearchRowInfo)
Syncs the criteria to text box.
Declaration
protected virtual void SyncCriteriaToTextBox(GridViewSearchRowInfo searchRow)
Parameters
searchRow
The search row.
SyncLabelText()
Syncs the label text.
Declaration
protected virtual void SyncLabelText()
UpdateInfoCore()
Updates the visual state of the cell.
Declaration
protected override void UpdateInfoCore()
Overrides
searchRow_SearchProgressChanged(object, SearchProgressChangedEventArgs)
Declaration
protected virtual void searchRow_SearchProgressChanged(object sender, SearchProgressChangedEventArgs e)
Parameters
sender
e