C1.Web.Wijmo.Controls.C1AutoComplete Namespace > C1AutoComplete Class : OnClientFocus Property |
'Declaration
<WidgetEventAttribute("ev, index")> <C1DescriptionAttribute(Key="C1AutoComplete.OnClientFocus", Description="The name of the function which will be called before focus is moved to an item (not selecting), ui.item refers to the focused item. The default action of focus is to replace the text field's value with the value of the focused item, though only if the focus event was triggered by a keyboard interaction. Canceling this event prevents the value from being updated, but does not prevent the menu item from being focused.")> <C1CategoryAttribute("Client-Side Events")> <WidgetOptionNameAttribute("focus")> <System.ComponentModel.DefaultValueAttribute()> <LayoutAttribute(LayoutType.Behavior)> Public Property OnClientFocus As System.String
[WidgetEvent("ev, index")] [C1Description(Key="C1AutoComplete.OnClientFocus", Description="The name of the function which will be called before focus is moved to an item (not selecting), ui.item refers to the focused item. The default action of focus is to replace the text field's value with the value of the focused item, though only if the focus event was triggered by a keyboard interaction. Canceling this event prevents the value from being updated, but does not prevent the menu item from being focused.")] [C1Category("Client-Side Events")] [WidgetOptionName("focus")] [System.ComponentModel.DefaultValue()] [Layout(LayoutType.Behavior)] public System.string OnClientFocus {get; set;}
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2