Class GridSearchCellElement
Represents the visual cell element for the search functionality in RadGridView.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridSearchCellElement : GridCellElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, IContextMenuProvider
Constructors
GridSearchCellElement(GridViewColumn, GridRowElement)
Initializes a new instance of the GridCellElement class.
Declaration
public GridSearchCellElement(GridViewColumn column, GridRowElement row)
Parameters
GridViewColumn
column
An instance of GridViewColumn. |
GridRowElement
row
An instance of GridRowElement. |
Fields
buttonsStack
DistanceBetweenNextAndPreviousButtonProperty
Declaration
public static RadProperty DistanceBetweenNextAndPreviousButtonProperty
Field Value
RadProperty
|
Properties
CanUpdateInfo
Gets whether it can update the info.
Declaration
protected override bool CanUpdateInfo { get; }
Property Value
System.Boolean
The can update info. |
Overrides
ChooseColumnsMenuItem
Gets the choose columns menu item.
Declaration
public RadMenuItem ChooseColumnsMenuItem { get; }
Property Value
RadMenuItem
The choose columns menu item. |
CloseButton
Gets the close button.
Declaration
public LightVisualButtonElement CloseButton { get; }
Property Value
LightVisualButtonElement
The close button. |
DistanceBetweenNextAndPreviousButton
Gets or sets the distance between next and previous button.
Declaration
public int DistanceBetweenNextAndPreviousButton { get; set; }
Property Value
System.Int32
The distance between next and previous button. |
FindNextButton
Gets the find next button.
Declaration
public GridSearchCellButtonElement FindNextButton { get; }
Property Value
GridSearchCellButtonElement
The find next button. |
FindPreviousButton
Gets the find previous button.
Declaration
public GridSearchCellButtonElement FindPreviousButton { get; }
Property Value
GridSearchCellButtonElement
The find previous button. |
MatchCaseMenuItem
Gets the match case menu item.
Declaration
public RadMenuItem MatchCaseMenuItem { get; }
Property Value
RadMenuItem
The match case menu item. |
OptionsButton
Gets the options button.
Declaration
public RadDropDownButtonElement OptionsButton { get; }
Property Value
RadDropDownButtonElement
The options button. |
SearchBoxWidth
Gets or sets the width of the search box.
Declaration
public int SearchBoxWidth { get; set; }
Property Value
System.Int32
The width of the search box. |
SearchFromCurrentPositionMenuItem
Gets the search from current position menu item.
Declaration
public RadMenuItem SearchFromCurrentPositionMenuItem { get; }
Property Value
RadMenuItem
The search from current position menu item. |
SearchTextBox
Gets the search text box.
Declaration
public GridSearchCellTextBoxElement SearchTextBox { get; }
Property Value
GridSearchCellTextBoxElement
The search text box. |
TextInputDelay
Gets or sets the text input delay.
Declaration
public int TextInputDelay { get; set; }
Property Value
System.Int32
The text input delay. |
WaitingBar
Gets the waiting bar.
Declaration
public RadWaitingBarElement WaitingBar { get; }
Property Value
RadWaitingBarElement
The waiting bar. |
WaitingBarHeight
Gets or sets the height of the waiting bar.
Declaration
public int WaitingBarHeight { get; set; }
Property Value
System.Int32
The height of the waiting bar. |
Methods
ArrangeOverride(SizeF)
Arranges the element in the available size.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
The final size. |
Returns
System.Drawing.SizeF
|
Overrides
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
RadMenuItem
|
CreateCloseButton()
Creates the close button.
Declaration
protected virtual LightVisualButtonElement CreateCloseButton()
Returns
LightVisualButtonElement
|
CreateFindNextButton()
Creates the find next button.
Declaration
protected virtual GridSearchCellButtonElement CreateFindNextButton()
Returns
GridSearchCellButtonElement
|
CreateFindPreviousButton()
Creates the find previous button.
Declaration
protected virtual GridSearchCellButtonElement CreateFindPreviousButton()
Returns
GridSearchCellButtonElement
|
CreateMatchCaseMenuItem()
Creates the match case menu item.
Declaration
protected virtual RadMenuItem CreateMatchCaseMenuItem()
Returns
RadMenuItem
|
CreateOptionsButton()
Creates the options button.
Declaration
protected virtual RadDropDownButtonElement CreateOptionsButton()
Returns
RadDropDownButtonElement
|
CreateSearchFromCurrentPositionMenuItem()
Creates the search from current position menu item.
Declaration
protected virtual RadMenuItem CreateSearchFromCurrentPositionMenuItem()
Returns
RadMenuItem
|
CreateSearchTextBox()
Creates the search text box.
Declaration
protected virtual GridSearchCellTextBoxElement CreateSearchTextBox()
Returns
GridSearchCellTextBoxElement
|
CreateWaitingBarElement()
Creates the waiting bar element.
Declaration
protected virtual RadWaitingBarElement CreateWaitingBarElement()
Returns
RadWaitingBarElement
|
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
GridViewColumn
column
An instance of GridViewColumn. |
GridRowElement
row
An instance of GridRowElement. |
Overrides
MeasureOverride(SizeF)
Measures the element in the available size.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
Size of the available. |
Returns
System.Drawing.SizeF
|
Overrides
RemoveUnicodeControlCharacters(String)
Removes the unicode control characters.
Declaration
protected virtual string RemoveUnicodeControlCharacters(string input)
Parameters
System.String
input
The input. |
Returns
System.String
|
Search()
Searches this instance.
Declaration
protected virtual void Search()
Search(Boolean)
Searches the specified sync criteria.
Declaration
protected virtual void Search(bool syncCriteria)
Parameters
System.Boolean
syncCriteria
The sync criteria. |
searchRow_SearchProgressChanged(Object, SearchProgressChangedEventArgs)
Declaration
protected virtual void searchRow_SearchProgressChanged(object sender, SearchProgressChangedEventArgs e)
Parameters
System.Object
sender
|
SearchProgressChangedEventArgs
e
|
SyncCriteriaToTextBox(GridViewSearchRowInfo)
Syncs the criteria to text box.
Declaration
protected virtual void SyncCriteriaToTextBox(GridViewSearchRowInfo searchRow)
Parameters
GridViewSearchRowInfo
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()