Class AutoCompleteBoxViewElement
An view port element of Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class AutoCompleteBoxViewElement : TextBoxViewElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider, INotifyPropertyChangingEx
Constructors
AutoCompleteBoxViewElement()
Initializes a new instance of the Auto
Declaration
public AutoCompleteBoxViewElement()
Fields
DefaultMinLineHeight
Declaration
protected const float DefaultMinLineHeight = 18F
Field Value
System.
|
InfinitySize
Declaration
protected static readonly SizeF InfinitySize
Field Value
System.
|
TokenizedTextBlockElementType
Declaration
protected static readonly Type TokenizedTextBlockElementType
Field Value
System.
|
Properties
Delimiter
Gets or sets the delimiter used to tokenize the text
Declaration
public char Delimiter { get; set; }
Property Value
System. The delimiter. |
MinLineHeight
Gets or sets the height of the min line.
Declaration
protected float MinLineHeight { get; set; }
Property Value
System. The height of the min line. |
PasswordChar
Declaration
public override char PasswordChar { get; set; }
Property Value
System.
|
Overrides
ShowRemoveButton
Gets or sets a value indicating whether the remove button of Tokenized
Declaration
public bool ShowRemoveButton { get; set; }
Property Value
System.
|
UseSystemPasswordChar
Declaration
public override bool UseSystemPasswordChar { get; set; }
Property Value
System.
|
Overrides
Methods
AddBlockDesiredSize(SizeF, LineInfo)
Declaration
protected override void AddBlockDesiredSize(SizeF blockDesiredSize, LineInfo line)
Parameters
System.
|
Line
|
Overrides
AreSplittedBlock(ITextBlock, ITextBlock)
Declaration
protected override bool AreSplittedBlock(ITextBlock firstBlock, ITextBlock secondBlock)
Parameters
IText
|
IText
|
Returns
System.
|
Overrides
CreateBlock(String, Type)
Declaration
protected override ITextBlock CreateBlock(string text, Type type)
Parameters
System.
|
System.
|
Returns
Overrides
CreateTextBlocksOverride(String)
Declaration
protected override void CreateTextBlocksOverride(string text)
Parameters
System.
|
Overrides
GetBlockText(ITextBlock, Int32, Int32)
Declaration
protected override string GetBlockText(ITextBlock block, int start, int length)
Parameters
IText
|
System.
|
System.
|
Returns
System.
|
Overrides
InitializeFields()
Declaration
protected override void InitializeFields()
Overrides
InsertTextBlocks(Int32, String, Type)
Declaration
protected override int InsertTextBlocks(int index, string text, Type blockType)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
Overrides
InsertTokenizedTextBlocks(Int32, String, Boolean)
Declaration
protected virtual int InsertTokenizedTextBlocks(int index, string text, bool performInvalidation)
Parameters
System.
|
System.
|
System.
|
Returns
System.
|
IsDelimiter(ITextBlock)
Determines whether the specified text block is delimiter.
Declaration
protected bool IsDelimiter(ITextBlock textBlock)
Parameters
IText The text block. |
Returns
System.
|
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
MeasureTextBlockOverride(ITextBlock, SizeF)
Declaration
protected override void MeasureTextBlockOverride(ITextBlock textBlock, SizeF availableSize)
Parameters
IText
|
System.
|
Overrides
MeasureWrap(SizeF, Int32, ref SizeF, ref Int32, ref Int32)
Declaration
protected override bool MeasureWrap(SizeF availableSize, int blockIndex, ref SizeF desiredSize, ref int currentLineIndex, ref int offset)
Parameters
System.
|
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
Overrides
MergeAndMeasureBlock(ITextBlock, SizeF)
Declaration
protected override void MergeAndMeasureBlock(ITextBlock textBlock, SizeF availableSize)
Parameters
IText
|
System.
|
Overrides
OnChildrenChanged(RadElement, ItemsChangeOperation)
Declaration
protected override void OnChildrenChanged(RadElement child, ItemsChangeOperation changeOperation)
Parameters
Rad
|
Items
|
Overrides
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.
|
Overrides
OnTextBlockFormatting(TextBlockFormattingEventArgs)
Declaration
protected override void OnTextBlockFormatting(TextBlockFormattingEventArgs e)
Parameters
Overrides
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
System.
|
Overrides
OnTokenValidating(String)
Raises the Token
Declaration
protected bool OnTokenValidating(string tokenText)
Parameters
System. The token text. |
Returns
System.
|
OnTokenValidating(TokenValidatingEventArgs)
Raises the Token
Declaration
protected virtual void OnTokenValidating(TokenValidatingEventArgs e)
Parameters
Token The Token |
RemoveEditableBlockRange(ITextBlock, Int32, out String)
Removes range of the editable block.
Declaration
protected virtual int RemoveEditableBlockRange(ITextBlock tailBlock, int startCharPosition, out string text)
Parameters
IText The block. |
System. The start char position. |
System. The text. |
Returns
System.
|
ReplaceOverride(TextPosition, TextPosition, String)
Declaration
protected override void ReplaceOverride(TextPosition startPosition, TextPosition endPosition, string text)
Parameters
Text
|
Text
|
System.
|
Overrides
ReplaceTextRange(ITextBlock, Int32, Int32, String)
Declaration
protected override void ReplaceTextRange(ITextBlock targetBlock, int startCharPosition, int endCharPosition, string text)
Parameters
IText
|
System.
|
System.
|
System.
|
Overrides
SplitBlock(LineInfo, SizeF, ref ITextBlock, ref Int32)
Declaration
protected override bool SplitBlock(LineInfo currentLine, SizeF availableSize, ref ITextBlock textBlock, ref int offset)
Parameters
Line
|
System.
|
IText
|
System.
|
Returns
System.
|
Overrides
Events
TokenValidating
Occurs when text is validating as token
Declaration
public event TokenValidatingEventHandler TokenValidating