Class
MapSearchBarElement

Represents a search bar element for map controls, providing text input and search functionality with support for various map search providers including Azure and Bing Maps.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadMap.dll

Syntax:

cs-api-definition
public class MapSearchBarElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementMapSearchBarElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider

Inherited Members LightVisualElement.BackgroundImagePropertyLightVisualElement.BackgroundImageLayoutPropertyLightVisualElement.BackColor2PropertyLightVisualElement.BackColor3PropertyLightVisualElement.BackColor4PropertyLightVisualElement.BorderBottomColorPropertyLightVisualElement.BorderBottomShadowColorPropertyLightVisualElement.BorderBottomWidthPropertyLightVisualElement.BorderBoxStylePropertyLightVisualElement.BorderColorPropertyLightVisualElement.BorderColor2PropertyLightVisualElement.BorderColor3PropertyLightVisualElement.BorderColor4PropertyLightVisualElement.BorderDashStylePropertyLightVisualElement.BorderDashPatternPropertyLightVisualElement.BorderDrawModePropertyLightVisualElement.BorderGradientAnglePropertyLightVisualElement.BorderGradientStylePropertyLightVisualElement.BorderInnerColorPropertyLightVisualElement.BorderInnerColor2PropertyLightVisualElement.BorderInnerColor3PropertyLightVisualElement.BorderInnerColor4PropertyLightVisualElement.BorderLeftColorPropertyLightVisualElement.BorderLeftShadowColorPropertyLightVisualElement.BorderLeftWidthPropertyLightVisualElement.BorderRightColorPropertyLightVisualElement.BorderRightShadowColorPropertyLightVisualElement.BorderRightWidthPropertyLightVisualElement.BorderTopColorPropertyLightVisualElement.BorderTopShadowColorPropertyLightVisualElement.BorderTopWidthPropertyLightVisualElement.BorderWidthPropertyLightVisualElement.ClipTextPropertyLightVisualElement.DisabledTextRenderingHintPropertyLightVisualElement.DrawBorderPropertyLightVisualElement.DrawFillPropertyLightVisualElement.DrawTextPropertyLightVisualElement.DrawBackgroundImagePropertyLightVisualElement.DrawImagePropertyLightVisualElement.EnableImageTransparencyPropertyLightVisualElement.GradientAnglePropertyLightVisualElement.GradientPercentagePropertyLightVisualElement.GradientPercentage2PropertyLightVisualElement.GradientStylePropertyLightVisualElement.HorizontalLineColorPropertyLightVisualElement.HorizontalLineWidthPropertyLightVisualElement.ImageAlignmentPropertyLightVisualElement.ImageIndexPropertyLightVisualElement.ImageKeyPropertyLightVisualElement.ImageLayoutPropertyLightVisualElement.ImageOpacityPropertyLightVisualElement.ImagePropertyLightVisualElement.ImageTransparentColorPropertyLightVisualElement.NumberOfColorsPropertyLightVisualElement.ShowHorizontalLinePropertyLightVisualElement.SvgImagePropertyLightVisualElement.TextAlignmentPropertyLightVisualElement.TextImageRelationPropertyLightVisualElement.TextWrapPropertyLightVisualElement.TextRenderingHintPropertyLightVisualElement.GetBorderThickness(LightVisualElement, bool)LightVisualElement.ShouldSerializeProperty(PropertyDescriptor)LightVisualElement.GetImageDrawTypeLocalValue()LightVisualElement.MapStyleProperty(RadProperty, string)LightVisualElement.GetStylablePropertiesFilter()LightVisualElement.GetPaintingBorderWidth()LightVisualElement.OnBitStateChanged(long, bool, bool)LightVisualElement.DisposeManagedResources()LightVisualElement.GetAsBitmapEx(Color, float, SizeF)LightVisualElement.GetClipRect()LightVisualElement.PaintElement(IGraphics, float, SizeF)LightVisualElement.PaintText(IGraphics)LightVisualElement.PaintTextCore(IGraphics)LightVisualElement.DrawHorizontalLineWithoutText(IGraphics)LightVisualElement.DrawHorizontalLine(IGraphics)LightVisualElement.PaintImage(IGraphics)LightVisualElement.PaintSvgImage(IGraphics)LightVisualElement.PaintBackgroundImage(IGraphics)LightVisualElement.PaintContent(IGraphics)LightVisualElement.AnimateImage(Image, bool)LightVisualElement.ClipImage(Image, Rectangle, Size)LightVisualElement.CalculateDesiredSize(SizeF, SizeF, SizeF)LightVisualElement.MeasureElements(SizeF, SizeF, Padding)LightVisualElement.ArrangeElement(RadElement, SizeF)LightVisualElement.GetClientOffset(bool)LightVisualElement.GetBorderThickness(bool)LightVisualElement.GetClientRectangle(bool, SizeF)LightVisualElement.GetClientRectangle(SizeF)LightVisualElement.GetTextAlignment(ContentAlignment)LightVisualElement.GetTextAlignment()LightVisualElement.OnLoaded()LightVisualElement.OnPropertyChanged(RadPropertyChangedEventArgs)LightVisualElement.OnTunnelEvent(RadElement, RoutedEventArgs)LightVisualElement.ToggleTextPrimitive(RadProperty)LightVisualElement.OnAnimatedImageFrameChanged()LightVisualElement.OnMouseMove(MouseEventArgs)LightVisualElement.GetFaceRectangle()LightVisualElement.CreateTextParams()LightVisualElement.PaintPrimitive(IGraphics, float, SizeF, TextParams)LightVisualElement.PaintPrimitive(IGraphics, TextParams)LightVisualElement.MeasureOverride(SizeF, TextParams)LightVisualElement.OnMouseMove(object, MouseEventArgs)LightVisualElement.GetTextSize(SizeF, TextParams)LightVisualElement.GetTextSize(TextParams)LightVisualElement.TextRenderingHintLightVisualElement.DisabledTextRenderingHintLightVisualElement.ShouldPaintLightVisualElement.CanFocusLightVisualElement.DrawTextLightVisualElement.DrawFillLightVisualElement.DrawBorderLightVisualElement.DrawBackgroundImageLightVisualElement.DrawImageLightVisualElement.BorderBoxStyleLightVisualElement.BorderDrawModeLightVisualElement.BorderWidthLightVisualElement.BorderLeftWidthLightVisualElement.BorderTopWidthLightVisualElement.BorderRightWidthLightVisualElement.BorderBottomWidthLightVisualElement.BorderGradientAngleLightVisualElement.BorderGradientStyleLightVisualElement.BorderColorLightVisualElement.BorderColor2LightVisualElement.BorderColor3LightVisualElement.BorderColor4LightVisualElement.BorderInnerColorLightVisualElement.BorderInnerColor2LightVisualElement.BorderInnerColor3LightVisualElement.BorderInnerColor4LightVisualElement.BackColor2LightVisualElement.BackColor3LightVisualElement.BackColor4LightVisualElement.NumberOfColorsLightVisualElement.GradientStyleLightVisualElement.GradientAngleLightVisualElement.GradientPercentageLightVisualElement.GradientPercentage2LightVisualElement.BackgroundImageLightVisualElement.ImageLightVisualElement.ImageIndexLightVisualElement.ImageKeyLightVisualElement.ImageLayoutLightVisualElement.BackgroundImageLayoutLightVisualElement.ImageOpacityLightVisualElement.DisabledImageOpacityLightVisualElement.TextAlignmentLightVisualElement.ImageAlignmentLightVisualElement.TextImageRelationLightVisualElement.ShowHorizontalLineLightVisualElement.HorizontalLineColorLightVisualElement.HorizontalLineWidthLightVisualElement.DisableHTMLRenderingLightVisualElement.BorderLeftColorLightVisualElement.BorderTopColorLightVisualElement.BorderRightColorLightVisualElement.BorderBottomColorLightVisualElement.BorderLeftShadowColorLightVisualElement.BorderTopShadowColorLightVisualElement.BorderRightShadowColorLightVisualElement.BorderBottomShadowColorLightVisualElement.ClipTextLightVisualElement.LayoutLightVisualElement.ImageTransparentColorLightVisualElement.BorderDashStyleLightVisualElement.BorderDashPatternLightVisualElement.EnableImageTransparencyLightVisualElement.SvgImageLightVisualElement.ImageDrawTypeLightVisualElement.AutoEllipsisLightVisualElement.UseMnemonicLightVisualElement.TextWrapLightVisualElement.ShowKeyboardCuesLightVisualElement.MeasureTrailingSpacesLightVisualElement.TextParamsUIItemBase.PaintFill(IGraphics, float, SizeF)UIItemBase.GetFillPaintRect(float, SizeF)UIItemBase.PaintFill(IGraphics, float, SizeF, RectangleF)UIItemBase.PaintBorder(IGraphics, float, SizeF)UIItemBase.PaintBorder(IGraphics, float, SizeF, RectangleF)UIItemBase.OnBoundsChanged(RadPropertyChangedEventArgs)UIItemBase.GetBorderPaintRect(float, SizeF)UIItemBase.ShouldUsePaintBuffer()RadItem.KeyDownEventRadItem.KeyPressEventRadItem.KeyUpEventRadItem.FocusCommandRadItem.ActionCommandRadItem.UseDefaultDisabledPaintPropertyRadItem.TextPropertyRadItem.TextOrientationPropertyRadItem.FlipTextPropertyRadItem.IsAddNewItemPropertyRadItem.ToolTipTextPropertyRadItem.EnableElementShadowPropertyRadItem.ShadowDepthPropertyRadItem.ShadowColorPropertyRadItem.IsPaintingRippleRadItem.EnableRippleAnimationPropertyRadItem.RippleAnimationColorPropertyRadItem.EnableFocusBorderPropertyRadItem.FocusBorderColorPropertyRadItem.FocusBorderWidthPropertyRadItem.EnableFocusBorderAnimationPropertyRadItem.EnableHighlightPropertyRadItem.HighlightColorPropertyRadItem.EnableBorderHighlightPropertyRadItem.BorderHighlightColorPropertyRadItem.BorderHighlightThicknessPropertyRadItem.VisualStatePropertyRadItem.SetOwnerCollection(RadItemOwnerCollection)RadItem.Select()RadItem.OnSelect()RadItem.Deselect()RadItem.OnDeselect()RadItem.DoKeyDown(KeyEventArgs)RadItem.DoKeyPress(KeyPressEventArgs)RadItem.DoKeyUp(KeyEventArgs)RadItem.OnKeyDown(KeyEventArgs)RadItem.OnKeyPress(KeyPressEventArgs)RadItem.OnKeyUp(KeyEventArgs)RadItem.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadItem.OnPropertyChanging(RadPropertyChangingEventArgs)RadItem.OnEnabledChanged(RadPropertyChangedEventArgs)RadItem.OnTextChanging(TextChangingEventArgs)RadItem.OnTextChanged(EventArgs)RadItem.OnTextOrientationChanged(EventArgs)RadItem.OnFlipTextChanged(EventArgs)RadItem.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadItem.OnMouseDown(MouseEventArgs)RadItem.OnMouseUp(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ProcessDialogKey(Keys)RadItem.ProcessCmdKey(ref Message, Keys)RadItem.RaiseKeyDown(KeyEventArgs)RadItem.RaiseKeyPress(KeyPressEventArgs)RadItem.RaiseKeyUp(KeyEventArgs)RadItem.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadItem.CallOnGesture(GestureEventArgs)RadItem.OnGesture(GestureEventArgs)RadItem.OnTwoFingerTapGesture(GestureEventArgs)RadItem.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadItem.OnPanGesture(PanGestureEventArgs)RadItem.OnRotateGesture(RotateGestureEventArgs)RadItem.OnZoomGesture(ZoomGestureEventArgs)RadItem.CanDragCore(Point)RadItem.GetDragContextCore()RadItem.GetDragHintCore()RadItem.ProcessDragDrop(Point, ISupportDrag)RadItem.ProcessDragOver(Point, ISupportDrag)RadItem.ProcessDragEnter(Point, ISupportDrag)RadItem.ProcessDragLeave(Point, ISupportDrag)RadItem.UpdateOnShortcutsChanged()RadItem.CanHandleShortcut(ShortcutEventArgs)RadItem.IsOnActiveForm(Control, bool)RadItem.SetThemeValueOverride(RadProperty, object, string)RadItem.SetThemeValueOverride(RadProperty, object, string, string)RadItem.SetThemeValueOverride(RadProperty, object, string, Type)RadItem.ResetThemeValueOverride(RadProperty)RadItem.ResetThemeValueOverride(RadProperty, string)RadItem.ResetThemeValueOverrides()RadItem.GetAvailableVisualStates()RadItem.ShouldFallbackToDefaultTheme()RadItem.UseDefaultDisabledPaintRadItem.TextOrientationRadItem.FlipTextRadItem.CanHaveOwnStyleRadItem.TextRadItem.SelectableRadItem.DefaultAutoToolTipRadItem.ShouldHandleMouseInputRadItem.KeyTipRadItem.ParentItemRadItem.ShortcutsHandlerRadItem.EnableElementShadowRadItem.ShadowDepthRadItem.ShadowColorRadItem.EnableRippleAnimationRadItem.RippleAnimationColorRadItem.EnableFocusBorderRadItem.FocusBorderColorRadItem.FocusBorderWidthRadItem.EnableFocusBorderAnimationRadItem.EnableHighlightRadItem.HighlightColorRadItem.EnableBorderHighlightRadItem.BorderHighlightColorRadItem.BorderHighlightThicknessRadItem.MnemonicTextRadItem.ToolTipTextRadItem.ThemeRoleRadItem.VisualStateRadItem.StateManagerRadItem.AllowDragRadItem.AllowDropRadItem.ShortcutsRadItem.AccessibleDescriptionRadItem.AccessibleNameRadItem.AccessibleRoleRadItem.TextChangingRadItem.TextChangedRadItem.TextOrientationChangedRadItem.FlipTextChangedRadItem.QueryAccessibilityHelpRadItem.KeyDownRadItem.KeyPressRadItem.KeyUpRadItem.ZoomGestureRadItem.RotateGestureRadItem.PanGestureRadItem.TwoFingerTapGestureRadItem.PressAndTapGestureRadComponentElement.ToString()RadComponentElement.GetService(Type)RadComponentElement.CanRaiseEventsRadComponentElement.ContainerRadComponentElement.DesignModeRadComponentElement.SiteRadComponentElement.DataBindingsVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.PaintChildren(IGraphics, Rectangle, float, SizeF, bool)VisualElement.PrePaintElement(IGraphics)VisualElement.PostPaintElement(IGraphics)VisualElement.GetScaledFont(float)VisualElement.GetScaledFont(float, Font)VisualElement.DefaultSizeVisualElement.ForeColorVisualElement.BackColorVisualElement.FontVisualElement.CustomFontVisualElement.CustomFontSizeVisualElement.CustomFontStyleVisualElement.SmoothingModeVisualElement.OpacityVisualElement.FontChangedRadElement.BoundsPropertyRadElement.BorderThicknessPropertyRadElement.PaddingPropertyRadElement.MarginPropertyRadElement.AlignmentPropertyRadElement.AutoSizeModePropertyRadElement.FitToSizeModePropertyRadElement.MinSizePropertyRadElement.EnabledPropertyRadElement.CanFocusPropertyRadElement.IsItemFocusedPropertyRadElement.IsFocusedPropertyRadElement.IsMouseOverPropertyRadElement.IsMouseOverElementPropertyRadElement.IsMouseDownPropertyRadElement.ShouldPaintPropertyRadElement.VisibilityPropertyRadElement.NamePropertyRadElement.ClassPropertyRadElement.ClipDrawingPropertyRadElement.ShapePropertyRadElement.MouseClickedEventRadElement.MouseDoubleClickedEventRadElement.MouseDownEventRadElement.MouseUpEventRadElement.MouseWheelEventRadElement.ChildElementAddedEventRadElement.ParentChangedEventRadElement.BoundsChangedEventRadElement.VisibilityChangingEventRadElement.EnabledChangedEventRadElement.ControlChangedEventRadElement.BackgroundShapePropertyRadElement.BackgroundShapePaintModePropertyRadElement.ContainsFocusPropertyRadElement.ContainsMousePropertyRadElement.MaxSizePropertyRadElement.RightToLeftPropertyRadElement.AutoSizePropertyRadElement.ZIndexPropertyRadElement.AngleTransformPropertyRadElement.ScaleTransformPropertyRadElement.PositionOffsetPropertyRadElement.TagPropertyRadElement.StretchHorizontallyPropertyRadElement.StretchVerticallyPropertyRadElement.UseCompatibleTextRenderingPropertyRadElement.ClickModePropertyRadElement.styleVersionRadElement.paintSystemSkinRadElement.SetPropertyValueCommandRadElement.GetPropertyValueCommandRadElement.StylePropertyRadElement.CallCreateChildElements()RadElement.SuspendReferenceUpdate()RadElement.ResumeReferenceUpdate()RadElement.OnLoad(bool)RadElement.LoadCore()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(RadElement)RadElement.OnParentChanged(RadElement)RadElement.UpdateReferences(ComponentThemableElementTree, bool, bool)RadElement.ResetLayout(bool)RadElement.HasInvisibleAncestor()RadElement.ResetLayoutCore()RadElement.InvalidateArrange()RadElement.InvalidateArrange(bool)RadElement.InvalidateMeasure()RadElement.InvalidateMeasure(bool)RadElement.UpdateLayout()RadElement.SuspendLayout()RadElement.SuspendLayout(bool)RadElement.ResumeLayout(bool)RadElement.ResumeLayout(bool, bool)RadElement.Arrange(RectangleF)RadElement.Measure(SizeF)RadElement.SetBounds(Rectangle)RadElement.SetBounds(int, int, int, int)RadElement.GetBoundingRectangle(Size)RadElement.GetBoundingRectangle(Rectangle)RadElement.GetDesiredSize(bool)RadElement.PointToScreen(Point)RadElement.PointFromScreen(Point)RadElement.PointToControl(Point)RadElement.PointFromControl(Point)RadElement.LocationToControl()RadElement.RectangleToScreen(Rectangle)RadElement.HitTest(Point)RadElement.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ShouldMeasureChild(RadElement)RadElement.MeasureChildren(SizeF)RadElement.GetArrangeRect(RectangleF)RadElement.CanExecuteLayoutOperation()RadElement.CalcLayoutOffset(PointF)RadElement.LockBounds()RadElement.UnlockBounds()RadElement.SetBoundsCore(Rectangle)RadElement.IsInValidState(bool)RadElement.Invalidate()RadElement.Invalidate(bool)RadElement.GetInvalidateBounds()RadElement.NotifyInvalidate(RadElement)RadElement.OnTransformationInvalidated()RadElement.PerformLayoutTransformation(ref RadMatrix)RadElement.PerformPaintTransformation(ref RadMatrix)RadElement.IsInGetAsBitmap()RadElement.PaintElementSkin(IGraphics)RadElement.PaintBackgroundShape(IGraphics)RadElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)RadElement.PaintChild(RadElement, IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintShadow(RadElement, IGraphics)RadElement.PaintShadowCore(Graphics, Rectangle, RadItem)RadElement.GetShadowRect(ref Rectangle, int)RadElement.PaintFocusCues(IGraphics, Rectangle)RadElement.GetAsBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(IGraphics, Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Brush, float, SizeF)RadElement.GetAsTransformedBitmap(Rectangle, Brush, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.ShouldPaintChild(RadElement)RadElement.GetFocusRect()RadElement.GetCurrentShape()RadElement.GetPaintRectangle(float, float, SizeF)RadElement.GetPatchedRect(RectangleF, float, SizeF)RadElement.GetXPVisualStyle()RadElement.GetVistaVisualStyle()RadElement.InitializeSystemSkinPaint()RadElement.UnitializeSystemSkinPaint()RadElement.GetSystemSkinPaintBounds()RadElement.OnUseSystemSkinChanged(EventArgs)RadElement.ShouldPaintSystemSkin()RadElement.ComposeShouldPaintSystemSkin()RadElement.ResetStyleSettings(bool)RadElement.ResetStyleSettings(bool, RadProperty)RadElement.ProcessBehaviors(RadPropertyChangedEventArgs)RadElement.AddBehavior(PropertyChangeBehavior)RadElement.GetBehaviors()RadElement.RemoveBehavior(PropertyChangeBehavior)RadElement.ClearBehaviors()RadElement.AddRangeBehavior(PropertyChangeBehaviorCollection)RadElement.SetThemeApplied(bool)RadElement.OnStyleChanged(RadPropertyChangedEventArgs)RadElement.UnapplyStyle()RadElement.RemoveRangeBehaviors(PropertyChangeBehaviorCollection)RadElement.RemoveBehaviors(PropertyChangeBehavior)RadElement.RemoveRangeRoutedEventBehaviors(RoutedEventBehaviorCollection)RadElement.GetThemeEffectiveType()RadElement.GetChildrenByType(Type)RadElement.GetChildrenByBaseType(Type)RadElement.FindAncestorByThemeEffectiveType(Type)RadElement.FindAncestor<T>()RadElement.IsAncestorOf(RadElement)RadElement.FindDescendant<T>()RadElement.FindDescendant(Predicate<RadElement>)RadElement.FindDescendant(Type)RadElement.EnumDescendants(TreeTraversalMode)RadElement.EnumDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.EnumDescendants(Filter, TreeTraversalMode)RadElement.GetDescendants(Predicate<RadElement>, TreeTraversalMode)RadElement.GetDescendants(Filter, TreeTraversalMode)RadElement.GetAncestors(Filter)RadElement.GetAncestors(Predicate<RadElement>)RadElement.RaiseRoutedEvent(RadElement, RoutedEventArgs)RadElement.RaiseTunnelEvent(RadElement, RoutedEventArgs)RadElement.OnBubbleEvent(RadElement, RoutedEventArgs)RadElement.IsEventInProcess(RaisedRoutedEvent)RadElement.RegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, Type)RadElement.GetRegisterRoutedEvent(string, string)RadElement.GetRegisterRoutedEvent(string)RadElement.OnChildrenChanged(RadElement, ItemsChangeOperation)RadElement.GetChildren(ChildrenListOptions)RadElement.SendToBack()RadElement.BringToFront()RadElement.IsChildOf(RadElement)RadElement.Focus()RadElement.Focus(bool)RadElement.SetFocusPropertySafe(bool)RadElement.KillFocus()RadElement.OnCLREventsRise(RoutedEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnClick(EventArgs)RadElement.OnDoubleClick(EventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.DoMouseWheel(MouseEventArgs)RadElement.DoClick(EventArgs)RadElement.DoDoubleClick(EventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(MouseEventArgs)RadElement.DoMouseMove(MouseEventArgs)RadElement.ShowScreenTip(ScreenTipNeededEventArgs)RadElement.HideScreenTip()RadElement.DoMouseHover(EventArgs)RadElement.OnShowScreenTip(ComponentInputBehavior)RadElement.RaiseClick(EventArgs)RadElement.RaiseDoubleClick(EventArgs)RadElement.RaiseMouseWheel(MouseEventArgs)RadElement.UpdateContainsFocus(bool)RadElement.DoMouseEnter(EventArgs)RadElement.DoMouseLeave(EventArgs)RadElement.GetValue(RadProperty)RadElement.AddStylePropertySetting(IPropertySetting)RadElement.SetValueCore(RadPropertyValue, object, object, ValueSource)RadElement.NotifyChildren(RadPropertyChangedEventArgs)RadElement.OnLocationChanged(RadPropertyChangedEventArgs)RadElement.OnDisplayPropertyChanged(RadPropertyChangedEventArgs)RadElement.CanRaisePropertyChangeNotifications(RadPropertyValue)RadElement.IsPropertyCancelable(RadPropertyMetadata)RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs)RadElement.PerformDispose(bool)RadElement.DisposeChildren()RadElement.GetStylableChildrenHierarchy()RadElement.GetStylableChildren()RadElement.GetBorderThickness(BorderPrimitive)RadElement.DpiScaleChanged(SizeF)RadElement.ElementStateRadElement.DesiredSizeRadElement.IsLayoutSuspendedRadElement.BoundingRectangleRadElement.ControlBoundingRectangleRadElement.BypassLayoutPoliciesRadElement.IsArrangeValidRadElement.IsMeasureValidRadElement.TreeLevelRadElement.TransformRadElement.TotalTransformRadElement.ShouldPaintUsingParentShapeRadElement.UseSystemSkinRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.BoundsRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AlignmentRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.ZIndexRadElement.RightToLeftRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.AngleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.StretchHorizontallyRadElement.StretchVerticallyRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.AutoToolTipRadElement.ScreenTipRadElement.AutoNumberKeyTipRadElement.DpiScaleFactorRadElement.LayoutUpdatedRadElement.MouseHoverRadElement.MouseMoveRadElement.MouseDownRadElement.MouseUpRadElement.ClickRadElement.DoubleClickRadElement.MouseEnterRadElement.MouseWheelRadElement.EnabledChangedRadElement.MouseLeaveRadElement.ChildrenChangedRadElement.LostMouseCaptureRadObject.BindingContextPropertyRadObject.RadTypeRadObject.ClearPropertyStore()RadObject.SuspendPropertyNotifications()RadObject.ResumePropertyNotifications()RadObject.GetPropertyValue(RadProperty)RadObject.SetDefaultValueOverride(RadProperty, object)RadObject.SetValue(RadProperty, object)RadObject.ResetValue(RadProperty)RadObject.ResetLocalValue(RadProperty)RadObject.ResetValue(RadProperty, ValueResetFlags)RadObject.UpdateValue(RadProperty)RadObject.GetValueSource(RadProperty)RadObject.GetRegisteredRadProperty(string)RadObject.UpdateValueCore(RadPropertyValue)RadObject.ResetValueCore(RadPropertyValue, ValueResetFlags)RadObject.GetDefaultValue(RadPropertyValue, object)RadObject.CoerceValue(RadPropertyValue, object)RadObject.ShouldSerializeProperty(RadProperty)RadObject.BindProperty(RadProperty, RadObject, RadProperty, PropertyBindingOptions)RadObject.UnbindProperty(RadProperty)RadObject.GetInheritedValue(RadProperty)RadObject.OnNotifyPropertyChanged(string)RadObject.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadObject.OnShouldSerializeProperty(ShouldSerializePropertyEventArgs)RadObject.PropertyValuesRadObject.PropertyFilterRadObject.RadObjectTypeRadObject.BindingContextRadObject.PropertyChangedRadObject.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

MapSearchBarElement(RadMapElement)

Initializes a new instance of the MapSearchBarElement class and associates it with the specified map element for search operations.

Declaration

cs-api-definition
public MapSearchBarElement(RadMapElement mapElement)

Parameters

mapElement

RadMapElement

The RadMapElement that this search bar will interact with for displaying search results.

Properties

AzureSearchRequest

Gets or sets the Azure search request configuration used for performing searches with Azure Maps services.

Declaration

cs-api-definition
public AzureSearchRequest AzureSearchRequest { get; set; }

Property Value

AzureSearchRequest

MapElement

Gets the map element that this search bar is associated with for displaying search results and managing map interactions.

Declaration

cs-api-definition
public RadMapElement MapElement { get; }

Property Value

RadMapElement

SearchBarWidth

Gets or sets the width of the search bar in pixels, automatically scaled for DPI settings.

Declaration

cs-api-definition
public int SearchBarWidth { get; set; }

Property Value

int

SearchIconElement

Gets the search icon element that provides visual indication of the search functionality within the search bar.

Declaration

cs-api-definition
public MapSearchIconElement SearchIconElement { get; }

Property Value

MapSearchIconElement

SearchMode

Gets or sets the search mode that determines when search operations are triggered, such as on text change or user confirmation.

Declaration

cs-api-definition
public MapSearchMode SearchMode { get; set; }

Property Value

MapSearchMode

SearchProvider

Gets or sets the search provider that will be used for performing map search operations when no event handler is provided.

Declaration

cs-api-definition
public IMapBaseSearchProvider SearchProvider { get; set; }

Property Value

IMapBaseSearchProvider

SearchTextBoxElement

Gets the text box element where users can enter search queries for map locations and addresses.

Declaration

cs-api-definition
public RadTextBoxElement SearchTextBoxElement { get; }

Property Value

RadTextBoxElement

ShowMessageBoxOnError

Gets or sets a value indicating whether a message box should be displayed when search errors occur and no custom search provider is configured.

Declaration

cs-api-definition
public bool ShowMessageBoxOnError { get; set; }

Property Value

bool

StackLayoutElement

Gets the stack layout element that contains and arranges the search bar components in a horizontal layout.

Declaration

cs-api-definition
public StackLayoutElement StackLayoutElement { get; }

Property Value

StackLayoutElement

Methods

ArrangeOverride(SizeF)

Arranges the search bar element within the specified final size, constraining the width to the configured SearchBarWidth value.

Declaration

cs-api-definition
protected override SizeF ArrangeOverride(SizeF finalSize)

Parameters

finalSize

SizeF

The SizeF representing the final arrangement size for the search bar.

Returns

SizeF

A SizeF representing the actual arranged size with width limited to SearchBarWidth.

Overrides LightVisualElement.ArrangeOverride(SizeF)

AzureBuildSearchRequest(string)

Creates an Azure search request object for Azure Maps search operations based on the provided search text.

Declaration

cs-api-definition
protected virtual AzureSearchRequest AzureBuildSearchRequest(string text)

Parameters

text

string

The search text to include in the Azure search request.

Returns

AzureSearchRequest

An AzureSearchRequest object configured with the search parameters.

BuildSearchRequest(string)

Creates a search request object for Bing Maps or other compatible search providers based on the provided search text.

Declaration

cs-api-definition
protected virtual RequestBase BuildSearchRequest(string text)

Parameters

text

string

The search text to include in the request.

Returns

RequestBase

A RequestBase object configured with the search parameters.

CreateChildElements()

Creates and initializes the child elements of the search bar, including the stack layout, text box, and search icon elements.

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadElement.CreateChildElements()

CreateSearchIconElement()

Creates and configures a search icon element that displays a visual search indicator in the search bar.

Declaration

cs-api-definition
protected virtual MapSearchIconElement CreateSearchIconElement()

Returns

MapSearchIconElement

A configured MapSearchIconElement for the search bar.

CreateStackElement()

Creates and configures a stack layout element for arranging the search bar components horizontally.

Declaration

cs-api-definition
protected virtual StackLayoutElement CreateStackElement()

Returns

StackLayoutElement

A configured StackLayoutElement for the search bar layout.

CreateTextBoxElement()

Creates and configures a text box element for search input, including null text, sizing, and event subscriptions.

Declaration

cs-api-definition
protected virtual RadTextBoxElement CreateTextBoxElement()

Returns

RadTextBoxElement

A configured RadTextBoxElement for search text input.

InitializeFields()

Initializes the default field values and properties for the search bar element, including search mode, width, and error handling settings.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides LightVisualElement.InitializeFields()

MeasureOverride(SizeF)

Measures the size needed for the search bar element, constraining the width to the configured SearchBarWidth value.

Declaration

cs-api-definition
protected override SizeF MeasureOverride(SizeF availableSize)

Parameters

availableSize

SizeF

The SizeF representing the available space for measurement.

Returns

SizeF

A SizeF representing the measured size with width limited to SearchBarWidth.

Overrides LightVisualElement.MeasureOverride(SizeF)

OnSearchTextBoxKeyDown(object, KeyEventArgs)

Handles key down events in the search text box, initiating search operations when the Enter key is pressed.

Declaration

cs-api-definition
protected virtual void OnSearchTextBoxKeyDown(object sender, KeyEventArgs e)

Parameters

sender

object

The source of the event.

e

KeyEventArgs

A KeyEventArgs that contains the event data.

OnSearchTextBoxTextChanged(object, EventArgs)

Handles text changed events in the search text box, triggering search operations when the search mode is set to OnTextChange.

Declaration

cs-api-definition
protected virtual void OnSearchTextBoxTextChanged(object sender, EventArgs e)

Parameters

sender

object

The source of the event.

e

EventArgs

An EventArgs that contains the event data.

Search(string)

Initiates a search operation using the specified criteria, supporting custom event handling, dedicated search providers, or automatic provider discovery.

Declaration

cs-api-definition
public virtual void Search(string criteria)

Parameters

criteria

string

The search text or criteria to use for the map search operation.

SearchProviderSearchCompleted(object, SearchCompletedEventArgs)

Handles the completion of search operations from Bing Maps or other search providers, creating map pins and adjusting the view to show search results.

Declaration

cs-api-definition
protected virtual void SearchProviderSearchCompleted(object sender, SearchCompletedEventArgs e)

Parameters

sender

object

The source of the event.

e

SearchCompletedEventArgs

A SearchCompletedEventArgs containing the search results from the search provider.

SearchProviderSearchError(object, SearchErrorEventArgs)

Handles search error events from map search providers, unsubscribing from events and optionally displaying error messages to the user.

Declaration

cs-api-definition
protected virtual void SearchProviderSearchError(object sender, SearchErrorEventArgs e)

Parameters

sender

object

The source of the event.

e

SearchErrorEventArgs

A SearchErrorEventArgs containing information about the search error.

SubscribeToTextBoxEvents(RadTextBoxElement)

Subscribes to the essential events of the text box element to handle search operations and user interactions.

Declaration

cs-api-definition
protected virtual void SubscribeToTextBoxEvents(RadTextBoxElement textBox)

Parameters

textBox

RadTextBoxElement

The RadTextBoxElement to subscribe to events for.

UnsubscribeToTextBoxEvents(RadTextBoxElement)

Unsubscribes from the essential events of the text box element to prevent memory leaks during disposal.

Declaration

cs-api-definition
protected virtual void UnsubscribeToTextBoxEvents(RadTextBoxElement textBox)

Parameters

textBox

RadTextBoxElement

The RadTextBoxElement to unsubscribe from events.

Events

SearchCriteriaChanged

Occurs when the search criteria changes, providing access to search parameters and results through event arguments.

Declaration

cs-api-definition
public event EventHandler<MapSearchEventArgs> SearchCriteriaChanged

Event Value

EventHandler<MapSearchEventArgs>