New to Telerik UI for WinFormsStart a free 30-day trial

The wrap layout of RadTextBoxControlElement

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TextBoxWrapPanel : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider, INotifyPropertyChangingEx

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementTextBoxWrapPanel...

Derived Classes: TextBoxViewElement

Implements: IBindableComponentIBorderElementIBoxElementIBoxStyleIComponentICustomTypeDescriptorIDisposableIDrawFillElementIFillElementIImageElementINotifyPropertyChangedINotifyPropertyChangingExIPrimitiveElementIShapedElementIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkinITextPrimitiveITextProvider...

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.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.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.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.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.CreateChildElements()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

Initializes a new instance of the TextBoxWrapPanel class.

C#
public TextBoxWrapPanel()

Fields

C#
public const char CarriageReturnSymbol = '\r'
C#
public const char LineFeedSymbol = '\n'
C#
public const char TabSymbol = '\t'
C#
protected static readonly Type TextBlockElementType

Properties

Gets the logical lines of TextBoxWrapPanel.

C#
public LineInfoCollection Lines { get; }

Gets or sets the spacing between lines when the TextBoxWrapPanel is in multiline mode.

C#
public int LineSpacing { get; set; }
Property Value:

The line spacing.

Gets or sets a value indicating whether this TextBoxWrapPanel is multiline.

C#
public bool Multiline { get; set; }
Property Value:

true if multiline; otherwise, false.

Gets or sets the text displayed by this item.

C#
public override string Text { get; set; }
Property Value:

The text content of the item. The default value is an empty string.

Overrides: RadItem.Text

Remarks:

This property supports data binding and localization. The text can contain HTML markup when the HTML support is enabled for the containing control. Changes to this property will trigger layout updates and repainting of the item.

Gets or sets how the text is horizontally aligned in the element.

C#
public HorizontalAlignment TextAlign { get; set; }
Property Value:

The horizontal text alignment.

Gets the length of the text.

C#
public int TextLength { get; }
Property Value:

The length of the text.

Gets the bounds of the Viewport

C#
public Rectangle ViewportBounds { get; }

Gets or sets a value indicating whether [word wrap].

C#
public bool WordWrap { get; set; }
Property Value:

true if [word wrap]; otherwise, false.

Methods

Adds the desired size of the block to desired size of line.

C#
protected virtual void AddBlockDesiredSize(SizeF blockDesiredSize, LineInfo line)
Parameters:blockDesiredSizeSizeF

Size of the block desired.

lineLineInfo

The line.

Adds the desired size of the line to document desired size.

C#
protected virtual void AddLineDesiredSize(LineInfo line, ref SizeF desiredSize)
Parameters:lineLineInfo

The line.

desiredSizeSizeF

Size of the desired.

Checks that tow block are splitted block

C#
protected virtual bool AreSplittedBlock(ITextBlock firstBlock, ITextBlock secondBlock)
Parameters:firstBlockITextBlock

The first block.

secondBlockITextBlock

The second block.

Returns:

bool

Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.

C#
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters:finalSizeSizeF

The final area within the parent that this element should use to arrange itself and its children.

Returns:

SizeF

The actual size used by the element after arrangement.

Overrides: LightVisualElement.ArrangeOverride(SizeF)

C#
protected virtual SizeF ArrangeWithCenterAlignment(SizeF finalSize)
Parameters:finalSizeSizeFReturns:

SizeF

C#
protected virtual SizeF ArrangeWithLeftAlignment(SizeF finalSize)
Parameters:finalSizeSizeFReturns:

SizeF

C#
protected virtual SizeF ArrangeWithRightAlignment(SizeF finalSize)
Parameters:finalSizeSizeFReturns:

SizeF

Search a line by using concrete comparer

C#
protected virtual ITextBlock BinarySearch(LineInfo line, IComparer comparer)
Parameters:lineLineInfo

The line.

comparerIComparer

The comparer.

Returns:

ITextBlock

Search a text block by offset.

C#
public ITextBlock BinarySearchTextBlockByOffset(LineInfo line, int offset)
Parameters:lineLineInfo

The line.

offsetint

The offset.

Returns:

ITextBlock

Search a text block by X coordinate.

C#
public ITextBlock BinarySearchTextBlockByXCoordinate(LineInfo line, float x)
Parameters:lineLineInfo

The line.

xfloat

The x.

Returns:

ITextBlock

C#
protected virtual bool CanInsert(char symbol)
Parameters:symbolcharReturns:

bool

C#
protected virtual bool CanInsert(string text)
Parameters:textstringReturns:

bool

Clamps the desired size in the valid available size bounds.

C#
protected virtual SizeF ClampDesiredSize(SizeF desiredSize, SizeF availableSize)
Parameters:desiredSizeSizeF

The available size.

availableSizeSizeF

The desired size.

Returns:

SizeF

Clears the presented text

C#
public void Clear()

Determines whether the text contains a new line

C#
public static bool ContainsNewLine(string text)
Parameters:textstring

The text

Returns:

bool

true if [contains new line] [the specified text]; otherwise, false.

C#
public static bool ContainsNonLetterOrDigit(string text)
Parameters:textstringReturns:

bool

Creates the block for concrete Type and string instance.

C#
protected virtual ITextBlock CreateBlock(string text, Type type)
Parameters:textstring

The text

typeType

The type.

Returns:

ITextBlock

C#
protected virtual LineInfo CreateNewLine(ITextBlock block, ref SizeF desiredSize, ref int lineIndex)
Parameters:blockITextBlockdesiredSizeSizeFlineIndexintReturns:

LineInfo

C#
public void CreateTextBlocks(string text)
Parameters:textstring
C#
protected virtual void CreateTextBlocksOverride(string text)
Parameters:textstring

Gets the baseline offset.

C#
protected virtual float GetBaselineOffset(LineInfo line, ITextBlock textBlock)
Parameters:lineLineInfo

The line.

textBlockITextBlock

The text block.

Returns:

float

Gets the block's text.

C#
protected virtual string GetBlockText(ITextBlock block, int start, int length)
Parameters:blockITextBlock

The block.

startint

The start.

lengthint

The length.

Returns:

string

Gets the line info by its index

C#
protected LineInfo GetLineInfo(int lineIndex)
Parameters:lineIndexint

Index of the line.

Returns:

LineInfo

Gets the next block for this index

C#
protected ITextBlock GetNextBlock(int index)
Parameters:indexint

The index.

Returns:

ITextBlock

Gets the previous block for this index

C#
protected ITextBlock GetPreviousBlock(int index)
Parameters:indexint

The index.

Returns:

ITextBlock

Gets the text between start and end position

C#
public string GetTextRange(TextPosition startPosition, TextPosition endPosition)
Parameters:startPositionTextPosition

The start position.

endPositionTextPosition

The end position.

Returns:

string

Determines whether this panel has text.

C#
public bool HasText()
Returns:

bool

true if this panel has text; otherwise, false.

Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.

C#
protected override void InitializeFields()

Overrides: LightVisualElement.InitializeFields()

C#
protected virtual int InsertTextBlocks(int index, string text, Type blockType)
Parameters:indexinttextstringblockTypeTypeReturns:

int

Performs measurement and arrangement of child elements.

C#
protected void InvalidateLayout()

Determines whether the text is carriage return symbol.

C#
public static bool IsCarriageReturn(string text)
Parameters:textstring

The text.

Returns:

bool

true if the text is carriage return symbol; otherwise, false.

Determines whether the text is line feed symbol.

C#
public static bool IsLineFeed(string text)
Parameters:textstring

The text.

Returns:

bool

true if the text is line feed symbol; otherwise, false.

Determines whether the text is tab, whitespace, line feed or carriage return symbol.

C#
public static bool IsSpecialText(string text)
Parameters:textstring

The text.

Returns:

bool

true if [is special text] [the specified text]; otherwise, false.

Determines whether the specified text is tab.

C#
public static bool IsTab(string text)
Parameters:textstring

The text.

Returns:

bool

true if the specified text is tab; otherwise, false.

Determines whether the text is tab or whitespace.

C#
public static bool IsTabOrWhitespace(string text)
Parameters:textstring

The text.

Returns:

bool

true if the text is tab or whitespace; otherwise, false.

Determines whether the specified text is whitespace.

C#
public static bool IsWhitespace(string text)
Parameters:textstring

The text.

Returns:

bool

true if the specified text is whitespace; otherwise, false.

Measures the desired size of the element by calculating the space needed for content, padding, and borders.

C#
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters:availableSizeSizeF

The available space that a parent element can allocate to this element.

Returns:

SizeF

The desired size of the element including content, padding, and border space.

Overrides: LightVisualElement.MeasureOverride(SizeF)

C#
protected void MeasureTextBlock(ITextBlock textBlock, SizeF availableSize)
Parameters:textBlockITextBlockavailableSizeSizeF
C#
protected virtual void MeasureTextBlockOverride(ITextBlock textBlock, SizeF availableSize)
Parameters:textBlockITextBlockavailableSizeSizeF

Measures and perfroms wrapping for blocks in WordWrap mode

C#
protected virtual bool MeasureWrap(SizeF availableSize, int blockIndex, ref SizeF desiredSize, ref int currentLineIndex, ref int offset)
Parameters:availableSizeSizeF

The available size.

blockIndexint

Index of the current block.

desiredSizeSizeF

Document desired size.

currentLineIndexint

Index of the current line.

offsetint

The current block offset.

Returns:

bool

Merge and measure block.

C#
protected virtual void MergeAndMeasureBlock(ITextBlock textBlock, SizeF availableSize)
Parameters:textBlockITextBlock

The text block.

availableSizeSizeF

The available size.

C#
protected ITextBlock NotifyCreateTextBlock(ITextBlock block, string text)
Parameters:blockITextBlocktextstringReturns:

ITextBlock

Notifies the text changed.

C#
protected virtual void NotifyTextChanged(string text, int caretPosition, TextBoxChangeAction action)
Parameters:textstring

The text.

caretPositionint

The caret position.

actionTextBoxChangeAction

The action.

Notifies the text changing.

C#
protected virtual bool NotifyTextChanging(int startPosition, int length, string oldText, string newText, TextBoxChangeAction action)
Parameters:startPositionint

The start position.

lengthint

The length.

oldTextstring

The old text.

newTextstring

The new text.

actionTextBoxChangeAction

The action.

Returns:

bool

Raises the event.

C#
protected virtual void OnCreateTextBlock(CreateTextBlockEventArgs e)
Parameters:eCreateTextBlockEventArgs

The CreateTextBlockEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnPropertyChanging(PropertyChangingEventArgsEx e)
Parameters:ePropertyChangingEventArgsEx

The PropertyChangingEventArgs instance containing the event data.

Called when a property is changing.

C#
protected bool OnPropertyChanging(string propertyName, object oldValue, object newValue)
Parameters:propertyNamestring

Name of the property.

oldValueobject

The old value.

newValueobject

The new value.

Returns:

bool

Called when text block is formatting.

C#
protected void OnTextBlockFormatting(ITextBlock textBlock)
Parameters:textBlockITextBlock

The text block.

Raises the event.

C#
protected virtual void OnTextBlockFormatting(TextBlockFormattingEventArgs e)
Parameters:eTextBlockFormattingEventArgs

The TextBlockFormattingEventArgs instance containing the event data.

Raises the TextChanged event.

C#
protected override void OnTextChanged(EventArgs e)
Parameters:eEventArgs

An EventArgs that contains the event data.

Overrides: RadItem.OnTextChanged(EventArgs)

Renders the text content of the element, including horizontal line effects when enabled.

C#
protected override void PaintText(IGraphics graphics)
Parameters:graphicsIGraphics

The graphics context used for rendering text.

Overrides: LightVisualElement.PaintText(IGraphics)

C#
protected virtual bool SplitBlock(LineInfo currentLine, SizeF availableSize, ref ITextBlock textBlock, ref int offset)
Parameters:currentLineLineInfoavailableSizeSizeFtextBlockITextBlockoffsetintReturns:

bool

Toggles the text primitive when text related properties are change.

C#
protected override void ToggleTextPrimitive(RadProperty property)
Parameters:propertyRadProperty

The changed property.

Overrides: LightVisualElement.ToggleTextPrimitive(RadProperty)

Events

Occurs when an instance of ITextBlock is created

C#
public event CreateTextBlockEventHandler CreateTextBlock

Occurs when a property value is changing.

C#
public event PropertyChangingEventHandlerEx PropertyChanging

Implements: INotifyPropertyChangingEx.PropertyChanging

Occurs when text block is formatting.

C#
public event TextBlockFormattingEventHandler TextBlockFormatting
In this article
DefinitionConstructorsTextBoxWrapPanel()FieldsCarriageReturnSymbolLineFeedSymbolTabSymbolTextBlockElementTypePropertiesLinesLineSpacingMultilineTextTextAlignTextLengthViewportBoundsWordWrapMethodsAddBlockDesiredSize(SizeF, LineInfo)AddLineDesiredSize(LineInfo, ref SizeF)AreSplittedBlock(ITextBlock, ITextBlock)ArrangeOverride(SizeF)ArrangeWithCenterAlignment(SizeF)ArrangeWithLeftAlignment(SizeF)ArrangeWithRightAlignment(SizeF)BinarySearch(LineInfo, IComparer)BinarySearchTextBlockByOffset(LineInfo, int)BinarySearchTextBlockByXCoordinate(LineInfo, float)CanInsert(char)CanInsert(string)ClampDesiredSize(SizeF, SizeF)Clear()ContainsNewLine(string)ContainsNonLetterOrDigit(string)CreateBlock(string, Type)CreateNewLine(ITextBlock, ref SizeF, ref int)CreateTextBlocks(string)CreateTextBlocksOverride(string)GetBaselineOffset(LineInfo, ITextBlock)GetBlockText(ITextBlock, int, int)GetLineInfo(int)GetNextBlock(int)GetPreviousBlock(int)GetTextRange(TextPosition, TextPosition)HasText()InitializeFields()InsertTextBlocks(int, string, Type)InvalidateLayout()IsCarriageReturn(string)IsLineFeed(string)IsSpecialText(string)IsTab(string)IsTabOrWhitespace(string)IsWhitespace(string)MeasureOverride(SizeF)MeasureTextBlock(ITextBlock, SizeF)MeasureTextBlockOverride(ITextBlock, SizeF)MeasureWrap(SizeF, int, ref SizeF, ref int, ref int)MergeAndMeasureBlock(ITextBlock, SizeF)NotifyCreateTextBlock(ITextBlock, string)NotifyTextChanged(string, int, TextBoxChangeAction)NotifyTextChanging(int, int, string, string, TextBoxChangeAction)OnCreateTextBlock(CreateTextBlockEventArgs)OnPropertyChanging(PropertyChangingEventArgsEx)OnPropertyChanging(string, object, object)OnTextBlockFormatting(ITextBlock)OnTextBlockFormatting(TextBlockFormattingEventArgs)OnTextChanged(EventArgs)PaintText(IGraphics)SplitBlock(LineInfo, SizeF, ref ITextBlock, ref int)ToggleTextPrimitive(RadProperty)EventsCreateTextBlockPropertyChangingTextBlockFormatting
Not finding the help you need?
Contact Support