Class
RadDiagramItem

Abstract base implementation of the IDiagramItem interface.

Definition

Namespace:Telerik.WinControls.UI.Diagrams

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

cs-api-definition
public abstract class RadDiagramItem : FrameworkElement, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IDiagramItem, ISerializable, ISupportMouseOver, IPropertyChanged, IGroupable, ISupportManipulation, ISupportVirtualization, IContainerChild, ICollapsible

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementRadDiagramItem

Derived Classes: RadDiagramShapeBaseRadDiagramConnection

Implements: ICollapsibleIContainerChildICustomTypeDescriptorIDiagramItemIDisposableIGroupableINotifyPropertyChangedIPropertyChangedISerializableIStylableNodeISupportDropISupportManipulationISupportMouseOverISupportSystemSkinISupportVirtualization

Inherited Members FrameworkElement.RenderTransformPropertyFrameworkElement.RenderTransformOriginPropertyFrameworkElement.CursorPropertyFrameworkElement.ForegroundPropertyFrameworkElement.HeightPropertyFrameworkElement.WidthPropertyFrameworkElement.SizeChangedFrameworkElement.InitializeFields()FrameworkElement.IsInVisibleClipBounds(Rectangle)FrameworkElement.MeasureOverride(SizeF)FrameworkElement.GetClientRectangle(SizeF)FrameworkElement.PaintElement(IGraphics, float, SizeF)FrameworkElement.PostPaintChildren(IGraphics, Rectangle, float, SizeF)FrameworkElement.OnBoundsChanged(RadPropertyChangedEventArgs)FrameworkElement.DragDrop(Point, ISupportDrag)FrameworkElement.DragOver(Point, ISupportDrag)FrameworkElement.DragEnter(Point, ISupportDrag)FrameworkElement.DragLeave(Point, ISupportDrag)FrameworkElement.FlowDirectionFrameworkElement.WidthFrameworkElement.HeightFrameworkElement.ActualHeightFrameworkElement.ActualWidthFrameworkElement.CursorFrameworkElement.RenderTransformOriginFrameworkElement.MouseOverBorderThicknessFrameworkElement.AllowDropUIElement.TextPropertyUIElement.FlowDirectionPropertyUIElement.ClipPropertyUIElement.UpdateRenderTransform()UIElement.CreateChildElements()UIElement.CaptureMouse()UIElement.ReleaseMouseCapture()UIElement.Paint(IPaintingContext)UIElement.CanPaint(IPaintingContext)UIElement.PaintCore(IPaintingContext)UIElement.ClearValue(RadProperty)UIElement.IsKeyboardFocusWithin()UIElement.OnMouseLeftButtonDown(MouseButtonEventArgs)UIElement.OnMouseLeftButtonUp(MouseButtonEventArgs)UIElement.OnMouseRightButtonDown(MouseButtonEventArgs)UIElement.OnMouseRightButtonUp(MouseButtonEventArgs)UIElement.OnMouseClick(MouseButtonEventArgs)UIElement.OnMouseDoubleClick(MouseButtonEventArgs)UIElement.HitTest(Point)UIElement.GetClipRect()UIElement.DoClick(EventArgs)UIElement.DoDoubleClick(EventArgs)UIElement.OnMouseDown(MouseEventArgs)UIElement.DoMouseWheel(MouseEventArgs)UIElement.DoMouseMove(MouseEventArgs)UIElement.OnMouseUp(MouseEventArgs)UIElement.OnBubbleEvent(RadElement, RoutedEventArgs)UIElement.OnClick(EventArgs)UIElement.OnDoubleClick(EventArgs)UIElement.OnPropertyChanged(RadPropertyChangedEventArgs)UIElement.OnLostFocus(EventArgs)UIElement.OnGotFocus(EventArgs)UIElement.IsFocusableUIElement.TextUIElement.AutomationIDUIElement.RenderTransformUIElement.ClipUIElement.IsHitTestVisibleUIElement.HasReceivedFocusUIElement.MouseLeftButtonDownUIElement.MouseLeftButtonUpUIElement.MouseRightButtonDownUIElement.MouseRightButtonUpUIElement.MouseClickUIElement.MouseDoubleClickUIElement.GotFocusUIElement.LostFocusVisualElement.DefaultSizePropertyVisualElement.ForeColorPropertyVisualElement.BackColorPropertyVisualElement.FontPropertyVisualElement.SmoothingModePropertyVisualElement.OpacityPropertyVisualElement.CustomFontPropertyVisualElement.CustomFontSizePropertyVisualElement.CustomFontStylePropertyVisualElement.OnFontChanged(EventArgs)VisualElement.OnPropertyChanging(RadPropertyChangingEventArgs)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.OnLoaded()RadElement.OnUnload(ComponentThemableElementTree, bool)RadElement.UnloadCore(ComponentThemableElementTree)RadElement.OnUnloaded(ComponentThemableElementTree)RadElement.OnElementTreeChanged(ComponentThemableElementTree)RadElement.OnBeginDispose()RadElement.SetParent(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.OnRenderSizeChanged(SizeChangedInfo)RadElement.OnChildDesiredSizeChanged(RadElement)RadElement.OnLayoutPropertyChanged(RadPropertyChangedEventArgs)RadElement.ArrangeCore(RectangleF)RadElement.MeasureCore(SizeF)RadElement.ShouldArrangeChild(RadElement)RadElement.ArrangeOverride(SizeF)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.PaintOverride(IGraphics, Rectangle, float, SizeF, bool)RadElement.PaintBackgroundShape(IGraphics)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(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)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.GetStylablePropertiesFilter()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.RaiseBubbleEvent(RadElement, RoutedEventArgs)RadElement.OnTunnelEvent(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.OnMouseMove(MouseEventArgs)RadElement.OnMouseHover(EventArgs)RadElement.OnEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnParentEnabledChanged(RadPropertyChangedEventArgs)RadElement.OnLostMouseCapture(MouseEventArgs)RadElement.OnMouseEnter(EventArgs)RadElement.OnMouseLeave(EventArgs)RadElement.PerformClick()RadElement.OnMouseWheel(MouseEventArgs)RadElement.IsInputKey(InputKeyEventArgs)RadElement.MouseEventArgsFromControl(MouseEventArgs)RadElement.DoMouseDown(MouseEventArgs)RadElement.DoMouseUp(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.ReplaceDefaultDescriptors(PropertyDescriptorCollection)RadElement.ToString()RadElement.DisposeManagedResources()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.CanHaveOwnStyleRadElement.PropagateStyleToChildrenRadElement.ThemeEffectiveTypeRadElement.ElementTreeRadElement.ChildrenRadElement.ChildrenHierarchyRadElement.ParentRadElement.RoutedEventBehaviorsRadElement.LayoutableChildrenCountRadElement.ContainsFocusRadElement.ShouldHandleMouseInputRadElement.NotifyParentOnMouseInputRadElement.IsAbleToRespondToMouseEventsRadElement.AutoSizeRadElement.LocationRadElement.SizeRadElement.BorderThicknessRadElement.PaddingRadElement.MarginRadElement.AutoSizeModeRadElement.FitToSizeModeRadElement.EnabledRadElement.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.VisibilityRadElement.IsElementVisibleRadElement.NameRadElement.ClassRadElement.ClipDrawingRadElement.ShapeRadElement.MinSizeRadElement.MaxSizeRadElement.UseCompatibleTextRenderingRadElement.BackgroundShapeRadElement.BackgroundShapePaintModeRadElement.ContainsMouseRadElement.CaptureRadElement.ScaleTransformRadElement.PositionOffsetRadElement.SerializePropertiesRadElement.SerializeElementRadElement.SerializeChildrenRadElement.RenderingMaxFramerateRadElement.IsThemeAppliedRadElement.ShouldApplyThemeRadElement.UseCenteredAngleTransformRadElement.TagRadElement.ClickModeRadElement.DoubleClickEnabledRadElement.CaptureOnMouseDownRadElement.IsItemHoveredRadElement.StyleRadElement.ToolTipTextRadElement.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.RadPropertyChangedRadObject.RadPropertyChangingDisposableObject.GetBitState(long)DisposableObject.SetBitState(long, bool)DisposableObject.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadDiagramItem()

Initializes a new instance of the RadDiagramItem class.

Declaration

cs-api-definition
protected RadDiagramItem()

Fields

AllowCopyProperty

Identifies the AllowCopy dependency property.

Declaration

cs-api-definition
public static readonly RadProperty AllowCopyProperty

Field Value

RadProperty

AllowCutProperty

Identifies the AllowCut dependency property.

Declaration

cs-api-definition
public static readonly RadProperty AllowCutProperty

Field Value

RadProperty

AllowDeleteProperty

Identifies the AllowDelete dependency property.

Declaration

cs-api-definition
public static readonly RadProperty AllowDeleteProperty

Field Value

RadProperty

AllowPasteProperty

Identifies the AllowPaste dependency property.

Declaration

cs-api-definition
public static readonly RadProperty AllowPasteProperty

Field Value

RadProperty

EditTemplateProperty

Identifies the EditTemplate dependency property.

Declaration

cs-api-definition
public static readonly RadProperty EditTemplateProperty

Field Value

RadProperty

EndEditEvent

Identifies the EndEdit routed event.

Declaration

cs-api-definition
public static readonly RoutedEvent EndEditEvent

Field Value

RoutedEvent

GroupProperty

Identifies the Group dependency property.

Declaration

cs-api-definition
public static readonly RadProperty GroupProperty

Field Value

RadProperty

IsConnectorsManipulationEnabledProperty

Identifies the IsConnectorsManipulationEnabled dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsConnectorsManipulationEnabledProperty

Field Value

RadProperty

IsDraggingEnabledProperty

Identifies the IsDraggingEnabled dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsDraggingEnabledProperty

Field Value

RadProperty

IsEditableProperty

Identifies the IsEditable dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsEditableProperty

Field Value

RadProperty

IsInEditModeProperty

Identifies the IsInEditMode dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsInEditModeProperty

Field Value

RadProperty

IsManipulationAdornerVisibleProperty

Identifies the IsManipulationAdornerVisible dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsManipulationAdornerVisibleProperty

Field Value

RadProperty

IsResizingEnabledProperty

Identifies the IsResizingEnabled dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsResizingEnabledProperty

Field Value

RadProperty

IsRotationEnabledProperty

Identifies the IsRotationEnabled dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsRotationEnabledProperty

Field Value

RadProperty

IsSelectedProperty

Identifies the IsSelected dependency property.

Declaration

cs-api-definition
public static readonly RadProperty IsSelectedProperty

Field Value

RadProperty

PositionProperty

Identifies the Position dependency property.

Declaration

cs-api-definition
public static readonly RadProperty PositionProperty

Field Value

RadProperty

StrokeDashArrayProperty

Identifies the StrokeDashArray dependency property.

Declaration

cs-api-definition
public static readonly RadProperty StrokeDashArrayProperty

Field Value

RadProperty

StrokeProperty

Identifies the Stroke dependency property.

Declaration

cs-api-definition
public static readonly RadProperty StrokeProperty

Field Value

RadProperty

StrokeThicknessProperty

Identifies the StrokeThickness dependency property.

Declaration

cs-api-definition
public static readonly RadProperty StrokeThicknessProperty

Field Value

RadProperty

editTextBox

Declaration

cs-api-definition
protected RadTextBoxControlElement editTextBox

Field Value

RadTextBoxControlElement

Properties

ActualSize

The actual size of the item.

Declaration

cs-api-definition
protected virtual Size ActualSize { get; }

Property Value

Size

Alignment

Gets or sets the preferred location of the element if its size is less than its parent size.

Declaration

cs-api-definition
[Browsable(false)]
public override ContentAlignment Alignment { get; set; }

Property Value

ContentAlignment

Overrides RadElement.Alignment

AllowCopy

Gets or sets a value indicating whether copying is allowed.

Declaration

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

Property Value

bool

True if copying is allowed; otherwise, false.

Implements ISupportManipulation.AllowCopy

AllowCut

Gets or sets a value indicating whether cutting is allowed.

Declaration

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

Property Value

bool

True if cutting is allowed; otherwise, false.

Implements ISupportManipulation.AllowCut

AllowDelete

Gets or sets a value indicating whether deleting is allowed.

Declaration

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

Property Value

bool

True if deleting is allowed; otherwise, false.

Implements ISupportManipulation.AllowDelete

AllowPaste

Gets or sets a value indicating whether pasting is allowed.

Declaration

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

Property Value

bool

True if pasting is allowed; otherwise, false.

Implements ISupportManipulation.AllowPaste

AngleTransform

Gets or sets the rotation transform angle used when painting the element and its children.

Declaration

cs-api-definition
[Browsable(false)]
public override float AngleTransform { get; set; }

Property Value

float

Overrides RadElement.AngleTransform

Bounds

Gets the bounds.

Declaration

cs-api-definition
[Browsable(false)]
public virtual Rect Bounds { get; }

Property Value

Rect

The bounds.

Implements IDiagramItem.Bounds

Content

Gets or sets the content.

Declaration

cs-api-definition
[Browsable(false)]
public object Content { get; set; }

Property Value

object

Implements IDiagramItem.Content

Remarks

The property matches the ContentControl.Content property.

DataBoundItem

Declaration

cs-api-definition
public object DataBoundItem { get; set; }

Property Value

object

Diagram

Gets the owning diagram of this instance.

Declaration

cs-api-definition
protected IGraphInternal Diagram { get; }

Property Value

IGraphInternal

Id

Gets the unique identifier of this entity.

Declaration

cs-api-definition
public string Id { get; }

Property Value

string

An identifier for this entity.

Implements IDiagramItem.Id

IsConnectorsManipulationEnabled

Gets or sets a value indicating whether manipulation on the connectors is enabled.

Declaration

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

Property Value

bool

True if manipulation on connectors is enabled; otherwise, false.

Implements ISupportManipulation.IsConnectorsManipulationEnabled

IsDraggingEnabled

Gets or sets a value indicating whether dragging is enabled.

Declaration

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

Property Value

bool

True if dragging is enabled; otherwise, false.

Implements ISupportManipulation.IsDraggingEnabled

IsDynamic

Gets or sets whether this item is dynamically generated.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsDynamic { get; set; }

Property Value

bool

If true then this item will not be serialized as part of the diagram.

Implements IDiagramItem.IsDynamic

Remarks

In some applications or embeddings of RadDiagram (e.g. workflows) there are shapes or connections which are generated as part of some layout or organization. In those cases it doesn't make sense to serialize the elements which are automatically generated as part of the application. By setting this property to true the serialization pipeline will omit the element.

IsEditable

Gets or sets a value indicating whether editing is enabled on this item.

Declaration

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

Property Value

bool

True if editing is enabled; otherwise, false.

Implements IDiagramItem.IsEditable

Remarks

Note that the similar higher-level IsEditable can potentially overrule this setting.

IsEnabled

Gets or sets whether the diagram entity is enabled.

Declaration

cs-api-definition
public virtual bool IsEnabled { get; set; }

Property Value

bool

True if enabled; otherwise, false.

Implements IDiagramItem.IsEnabled

IsInEditMode

Gets or sets a value indicating whether this instance is in edit mode.

Declaration

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

Property Value

bool

True if this instance is in edit mode; otherwise, false.

Implements IDiagramItem.IsInEditMode

IsManipulationAdornerVisible

Gets or sets a value indicating whether the manipulation adorner is visible.

Declaration

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

Property Value

bool

True if the manipulation adorner is visible; otherwise, false.

Implements ISupportManipulation.IsManipulationAdornerVisible

IsResizingEnabled

Gets or sets a value indicating whether resizing is enabled.

Declaration

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

Property Value

bool

True if resizing is enabled; otherwise, false.

Implements ISupportManipulation.IsResizingEnabled

IsRotationEnabled

Gets or sets a value indicating whether rotation is enabled.

Declaration

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

Property Value

bool

true if this rotation is enabled; otherwise, false.

Implements ISupportManipulation.IsRotationEnabled

IsSelected

Gets or sets whether the diagram entity is selected.

Declaration

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

Property Value

bool

True if selected; otherwise, false.

Implements IDiagramItem.IsSelected

IsSelectedInGroup

Gets a value indicating whether this instance is selected in group.

Declaration

cs-api-definition
protected bool IsSelectedInGroup { get; set; }

Property Value

bool

True if this item is selected in group; otherwise, false.

IsServiceManipulation

Gets whether any service is manipulating at the moment.

Declaration

cs-api-definition
protected bool IsServiceManipulation { get; }

Property Value

bool

ParentContainer

ParentContainer

Declaration

cs-api-definition
[Browsable(false)]
public IContainerShape ParentContainer { get; }

Property Value

IContainerShape

Implements IContainerChild.ParentContainer

ParentGroup

Gets or sets the group.

Declaration

cs-api-definition
[Browsable(false)]
public IGroup ParentGroup { get; set; }

Property Value

IGroup

The group.

Implements IGroupable.ParentGroup

Position

Gets or sets the position of the top left corner of the bounding rectangle of the item.

Declaration

cs-api-definition
public Point Position { get; set; }

Property Value

Point

Implements IDiagramItem.Position

RightToLeft

Gets or sets the direction of flow of the elements and whether elements are aligned to support locales using right-to-left fonts.

Declaration

cs-api-definition
[Browsable(false)]
public override bool RightToLeft { get; set; }

Property Value

bool

Overrides RadElement.RightToLeft

ServiceLocator

Gets the service locator.

Declaration

cs-api-definition
protected IGraphServiceLocator ServiceLocator { get; }

Property Value

IGraphServiceLocator

StretchHorizontally

Declaration

cs-api-definition
[Browsable(false)]
public override bool StretchHorizontally { get; set; }

Property Value

bool

Overrides RadElement.StretchHorizontally

StretchVertically

Declaration

cs-api-definition
[Browsable(false)]
public override bool StretchVertically { get; set; }

Property Value

bool

Overrides RadElement.StretchVertically

Stroke

Gets or sets the stroke of this item.

Declaration

cs-api-definition
[Browsable(false)]
public virtual Brush Stroke { get; set; }

Property Value

Brush

The stroke.

StrokeDashArray

Gets or sets the stroke dash array of this item.

Declaration

cs-api-definition
[Browsable(false)]
public DoubleCollection StrokeDashArray { get; set; }

Property Value

DoubleCollection

The stroke dash array.

StrokeThickness

Gets or sets the stroke thickness of this item.

Declaration

cs-api-definition
public double StrokeThickness { get; set; }

Property Value

double

The stroke thickness.

X

Gets or sets the horizontal position of this item.

Declaration

cs-api-definition
public double X { get; set; }

Property Value

double

The x-coordinate.

Y

Gets or sets the vertical position of this item.

Declaration

cs-api-definition
public double Y { get; set; }

Property Value

double

The y-coordinate.

ZIndex

Gets or sets the ZIndex of this instance.

Declaration

cs-api-definition
public override int ZIndex { get; set; }

Property Value

int

Overrides RadElement.ZIndex

Implements IDiagramItem.ZIndex

Methods

CallBeginEditEvent()

Declaration

cs-api-definition
protected virtual void CallBeginEditEvent()

CallEndEditEvent(object)

Declaration

cs-api-definition
protected virtual void CallEndEditEvent(object editedContent)

Parameters

editedContent

object

CustomizeTextBoxEditor()

Declaration

cs-api-definition
protected virtual void CustomizeTextBoxEditor()

Deserialize(SerializationInfo)

Deserializes the serialization info in this diagram entity.

Declaration

cs-api-definition
public virtual void Deserialize(SerializationInfo info)

Parameters

info

SerializationInfo

A SerializationInfo instance.

Implements ISerializable.Deserialize(SerializationInfo)

Initialize(IGraphServiceLocator, IGraphInternal)

Initializes the specified service locator and parent graph.

Declaration

cs-api-definition
protected virtual void Initialize(IGraphServiceLocator serviceLocator, IGraphInternal graph)

Parameters

serviceLocator

IGraphServiceLocator

The service locator.

graph

IGraphInternal

The diagram control.

InitializeGlobalSettingsFromDiagram(RadDiagramElement)

Declaration

cs-api-definition
protected virtual void InitializeGlobalSettingsFromDiagram(RadDiagramElement diagramParent)

Parameters

diagramParent

RadDiagramElement

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides FrameworkElement.OnApplyTemplate()

OnGroupNameChanged()

Called when the group name changes.

Declaration

cs-api-definition
protected virtual void OnGroupNameChanged()

OnIsConnectorsManipulationEnabledChanged(bool, bool)

Called when connectors manipulation changes.

Declaration

cs-api-definition
protected virtual void OnIsConnectorsManipulationEnabledChanged(bool newValue, bool oldValue)

Parameters

newValue

bool

The new value.

oldValue

bool

The old value.

OnIsEditableChanged(bool, bool)

Called when IsEditable has changed.

Declaration

cs-api-definition
protected virtual void OnIsEditableChanged(bool oldIsEditable, bool isEditable)

Parameters

oldIsEditable

bool

The old value of the property.

isEditable

bool

The current value of the property.

OnIsInEditModeChanged(bool, bool)

Called when IsInEditMode changes.

Declaration

cs-api-definition
protected virtual void OnIsInEditModeChanged(bool oldIsInEditMode, bool isInEditMode)

Parameters

oldIsInEditMode

bool

The old value of the property.

isInEditMode

bool

The current value of the property.

OnIsSelectedChanged(bool, bool)

Called when the IsSelected property has changed.

Declaration

cs-api-definition
protected virtual void OnIsSelectedChanged(bool oldValue, bool newValue)

Parameters

oldValue

bool

The old value of the IsSelected property.

newValue

bool

The new value of the IsSelected property.

OnParentChanged(RadElement)

Notifies for a change in the Parent value.

Declaration

cs-api-definition
protected override void OnParentChanged(RadElement previousParent)

Parameters

previousParent

RadElement

The previous parent element (if any)

Overrides RadElement.OnParentChanged(RadElement)

OnPositionChanged(Point, Point)

Called when position changes.

Declaration

cs-api-definition
protected virtual void OnPositionChanged(Point oldPosition, Point newPosition)

Parameters

oldPosition

Point

The old position.

newPosition

Point

The new position.

OnPositionCoerced(Point)

Called when [position coerced].

Declaration

cs-api-definition
protected virtual object OnPositionCoerced(Point position)

Parameters

position

Point

The position.

Returns

object

OnPropertyChanged(string)

Called when a property value changed.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

Name of the property.

OnSizeChanged(Size, Size)

Called when the size changes.

Declaration

cs-api-definition
protected virtual void OnSizeChanged(Size newSize, Size oldSize)

Parameters

newSize

Size

The new size.

oldSize

Size

The old size.

OnStrokeThicknessChanged()

Invoked when the StrokeThickness property has changed.

Declaration

cs-api-definition
protected virtual void OnStrokeThicknessChanged()

OnZIndexChanged(int, int)

Called when the ZIndex changes.

Declaration

cs-api-definition
protected virtual void OnZIndexChanged(int newValue, int oldValue)

Parameters

newValue

int

The new value.

oldValue

int

The old value.

RefreshIsSelectedInGroup()

Refreshes the is selected in group property.

Declaration

cs-api-definition
protected virtual void RefreshIsSelectedInGroup()

Serialize()

Serializes this instance.

Declaration

cs-api-definition
public virtual SerializationInfo Serialize()

Returns

SerializationInfo

Implements ISerializable.Serialize()

UpdateVisualStates()

Updates the visual states.

Declaration

cs-api-definition
protected virtual void UpdateVisualStates()

Events

BeginEdit

Identifies the BeginEdit routed event.

Declaration

cs-api-definition
public event EventHandler BeginEdit

Event Value

EventHandler

EndEdit

Occurs when the editing ends.

Declaration

cs-api-definition
public event EventHandler<RadRoutedEditEventArgs> EndEdit

Event Value

EventHandler<RadRoutedEditEventArgs>

ParentGroupChanged

Occurs when [group changed].

Declaration

cs-api-definition
public event EventHandler<PropertyEventArgs<IGroup>> ParentGroupChanged

Event Value

EventHandler<PropertyEventArgs<IGroup>>

Implements IGroupable.ParentGroupChanged

PreviewBeginEdit

Occurs before the editing starts.

Declaration

cs-api-definition
public event CancelEventHandler PreviewBeginEdit

Event Value

CancelEventHandler

PreviewEndEdit

Occurs before the editing ends.

Declaration

cs-api-definition
public event CancelEventHandler PreviewEndEdit

Event Value

CancelEventHandler

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event EventHandler<PropertyEventArgs> PropertyChanged

Event Value

EventHandler<PropertyEventArgs>

Implements IPropertyChanged.PropertyChanged

In this article
DefinitionConstructorsRadDiagramItem()FieldsAllowCopyPropertyAllowCutPropertyAllowDeletePropertyAllowPastePropertyEditTemplatePropertyEndEditEventGroupPropertyIsConnectorsManipulationEnabledPropertyIsDraggingEnabledPropertyIsEditablePropertyIsInEditModePropertyIsManipulationAdornerVisiblePropertyIsResizingEnabledPropertyIsRotationEnabledPropertyIsSelectedPropertyPositionPropertyStrokeDashArrayPropertyStrokePropertyStrokeThicknessPropertyeditTextBoxPropertiesActualSizeAlignmentAllowCopyAllowCutAllowDeleteAllowPasteAngleTransformBoundsContentDataBoundItemDiagramIdIsConnectorsManipulationEnabledIsDraggingEnabledIsDynamicIsEditableIsEnabledIsInEditModeIsManipulationAdornerVisibleIsResizingEnabledIsRotationEnabledIsSelectedIsSelectedInGroupIsServiceManipulationParentContainerParentGroupPositionRightToLeftServiceLocatorStretchHorizontallyStretchVerticallyStrokeStrokeDashArrayStrokeThicknessXYZIndexMethodsCallBeginEditEvent()CallEndEditEvent(object)CustomizeTextBoxEditor()Deserialize(SerializationInfo)Initialize(IGraphServiceLocator, IGraphInternal)InitializeGlobalSettingsFromDiagram(RadDiagramElement)OnApplyTemplate()OnGroupNameChanged()OnIsConnectorsManipulationEnabledChanged(bool, bool)OnIsEditableChanged(bool, bool)OnIsInEditModeChanged(bool, bool)OnIsSelectedChanged(bool, bool)OnParentChanged(RadElement)OnPositionChanged(Point, Point)OnPositionCoerced(Point)OnPropertyChanged(string)OnSizeChanged(Size, Size)OnStrokeThicknessChanged()OnZIndexChanged(int, int)RefreshIsSelectedInGroup()Serialize()UpdateVisualStates()EventsBeginEditEndEditParentGroupChangedPreviewBeginEditPreviewEndEditPropertyChanged
Not finding the help you need?
Contact Support