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 Grid
Declaration
public GridSearchCellElement(GridViewColumn column, GridRowElement row)
Parameters
Grid An instance of Grid |
Grid An instance of Grid |
Fields
buttonsStack
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
System. The can update info. |
Overrides
ChooseColumnsMenuItem
Gets the choose columns menu item.
Declaration
public RadMenuItem ChooseColumnsMenuItem { get; }
Property Value
Rad The choose columns menu item. |
CloseButton
Gets the close button.
Declaration
public LightVisualButtonElement CloseButton { get; }
Property Value
Light The close button. |
DistanceBetweenNextAndPreviousButton
Gets or sets the distance between next and previous button.
Declaration
public int DistanceBetweenNextAndPreviousButton { get; set; }
Property Value
System. The distance between next and previous button. |
FindNextButton
Gets the find next button.
Declaration
public GridSearchCellButtonElement FindNextButton { get; }
Property Value
Grid The find next button. |
FindPreviousButton
Gets the find previous button.
Declaration
public GridSearchCellButtonElement FindPreviousButton { get; }
Property Value
Grid The find previous button. |
MatchCaseMenuItem
Gets the match case menu item.
Declaration
public RadMenuItem MatchCaseMenuItem { get; }
Property Value
Rad The match case menu item. |
OptionsButton
Gets the options button.
Declaration
public RadDropDownButtonElement OptionsButton { get; }
Property Value
Rad The options button. |
SearchBoxWidth
Gets or sets the width of the search box.
Declaration
public int SearchBoxWidth { get; set; }
Property Value
System. The width of the search box. |
SearchFromCurrentPositionMenuItem
Gets the search from current position menu item.
Declaration
public RadMenuItem SearchFromCurrentPositionMenuItem { get; }
Property Value
Rad The search from current position menu item. |
SearchTextBox
Gets the search text box.
Declaration
public GridSearchCellTextBoxElement SearchTextBox { get; }
Property Value
Grid The search text box. |
TextInputDelay
Gets or sets the text input delay.
Declaration
public int TextInputDelay { get; set; }
Property Value
System. The text input delay. |
WaitingBar
Gets the waiting bar.
Declaration
public RadWaitingBarElement WaitingBar { get; }
Property Value
Rad The waiting bar. |
WaitingBarHeight
Gets or sets the height of the waiting bar.
Declaration
public int WaitingBarHeight { get; set; }
Property Value
System. 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. The final size. |
Returns
System.
|
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
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
Grid An instance of Grid |
Grid An instance of Grid |
Overrides
MeasureOverride(SizeF)
Measures the element in the available size.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System. Size of the available. |
Returns
System.
|
Overrides
RemoveUnicodeControlCharacters(String)
Removes the unicode control characters.
Declaration
protected virtual string RemoveUnicodeControlCharacters(string input)
Parameters
System. The input. |
Returns
System.
|
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. The sync criteria. |
searchRow_SearchProgressChanged(Object, SearchProgressChangedEventArgs)
Declaration
protected virtual void searchRow_SearchProgressChanged(object sender, SearchProgressChangedEventArgs e)
Parameters
System.
|
Search
|
SyncCriteriaToTextBox(GridViewSearchRowInfo)
Syncs the criteria to text box.
Declaration
protected virtual void SyncCriteriaToTextBox(GridViewSearchRowInfo searchRow)
Parameters
Grid 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()