Class
RadDataEntryElement

Represents the main element in the RadDataEntry control hierarchy tree that encapsulates the actual data entry functionality. This element is responsible for automatically generating input controls based on data source properties and managing their layout and validation.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class RadDataEntryElement : RadScrollablePanelElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode

Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemRadScrollablePanelElementRadDataEntryElement

Implements: IBindableComponentIComponentICustomTypeDescriptorIDisposableINotifyPropertyChangedIShortcutProviderIStylableElementIStylableNodeISupportDragISupportDropISupportSystemSkin

Inherited Members RadScrollablePanelElement.TextPrimitiveRadScrollablePanelElement.BorderRadScrollablePanelElement.FillRadItem.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.DisposeManagedResources()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.OnPropertyChanged(RadPropertyChangedEventArgs)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.OnMouseMove(MouseEventArgs)RadItem.OnMouseLeave(EventArgs)RadItem.StartRippleAnimation(MouseEventArgs)RadItem.UpdateFocusBorder(bool)RadItem.ContainsText()RadItem.ShouldSerializeProperty(PropertyDescriptor)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.PaintElement(IGraphics, float, SizeF)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.ArrangeOverride(SizeF)RadElement.MeasureOverride(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.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(Color, float, SizeF)RadElement.GetAsBitmapEx(Brush, float, SizeF)RadElement.GetAsBitmap(Brush, float, SizeF)RadElement.IsInVisibleClipBounds(Rectangle)RadElement.SetClipping(Graphics)RadElement.GetClipRect()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.OnTunnelEvent(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.OnBoundsChanged(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.GetClientRectangle(SizeF)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.CanFocusRadElement.IsFocusedRadElement.IsMouseOverRadElement.IsMouseOverElementRadElement.IsMouseDownRadElement.InvalidateChildrenOnChildChangedRadElement.ShouldPaintRadElement.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.OnBitStateChanged(long, bool, bool)DisposableObject.Dispose()DisposableObject.Dispose(bool)DisposableObject.DisposeUnmanagedResources()DisposableObject.BitStateDisposableObject.EventsDisposableObject.IsDisposingDisposableObject.IsDisposedDisposableObject.DisposedDisposableObject.Disposing

Constructors

RadDataEntryElement()

Declaration

cs-api-definition
public RadDataEntryElement()

Fields

ErrorIconProperty

The error icon property that specifies the icon displayed for validation errors.

Declaration

cs-api-definition
public static RadProperty ErrorIconProperty

Field Value

RadProperty

Properties

AutoSizeLabels

Gets or sets a value indicating whether labels of the editors should be automatically sized to align properly in columns according to the longest text.

Declaration

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

Property Value

bool

true if labels should be auto-sized for alignment; otherwise, false.

ColumnCount

Gets or sets the number of columns that RadDataEntry will use to arrange generated controls.

Declaration

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

Property Value

int

The number of columns. Must be at least 1.

Exceptions

ArgumentException

Thrown when the value is less than 1.

CurrentObject

Gets the current object from the data source at the current position.

Declaration

cs-api-definition
public object CurrentObject { get; }

Property Value

object

The current object, or null if no object is available at the current position.

DataSource

Gets or sets the data source for the RadDataEntry control.

Declaration

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

Property Value

object

The data source object. Setting to null will clear all generated editors.

ErrorIcon

Gets or sets the icon used by the error provider for displaying validation errors.

Declaration

cs-api-definition
[TypeConverter(typeof(ImageTypeConverter))]
public Image ErrorIcon { get; set; }

Property Value

Image

The error icon image.

FitToParentWidth

Gets or sets a value indicating whether the generated editors should automatically fit their width to the width of the RadDataEntry.

Declaration

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

Property Value

bool

true if editors should fit to parent width; otherwise, false to use ItemDefaultSize.

FlowDirection

Gets or sets the flow direction for generating editors when the ColumnCount property is greater than 1.

Declaration

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

Property Value

FlowDirection

The flow direction that determines how controls are arranged across columns.

ItemDefaultSize

Gets or sets the default size that generated items should have when FitToParentWidth is false. When FitToParentWidth is true, the width is calculated based on the RadDataEntry width.

Declaration

cs-api-definition
public Size ItemDefaultSize { get; set; }

Property Value

Size

The default size of generated editor items, automatically scaled based on DPI settings.

ItemSpace

Gets or sets the spacing between the generated editor items.

Declaration

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

Property Value

int

The item space in pixels, automatically scaled based on DPI settings.

Manager

Gets the binding manager that manages the data binding for the current data source.

Declaration

cs-api-definition
public BindingManagerBase Manager { get; }

Property Value

BindingManagerBase

The BindingManagerBase instance associated with the data source.

Methods

ArrangeControls()

Arranges the generated controls in the specified column and row layout based on the current flow direction and column count.

Declaration

cs-api-definition
protected virtual void ArrangeControls()

ArrangeLabels()

Arranges the labels in each column by calculating the maximum width needed and applying consistent sizing for proper alignment.

Declaration

cs-api-definition
protected virtual void ArrangeLabels()

Bind()

Binds the data entry to the current data source by clearing existing controls and generating new editors based on the data source properties.

Declaration

cs-api-definition
public void Bind()

Clear()

Clears all generated controls and resets the internal collections and validation information.

Declaration

cs-api-definition
public void Clear()

CreateBinding(Control, string, string)

Creates a data binding between the specified control property and the data source member.

Declaration

cs-api-definition
protected virtual Binding CreateBinding(Control control, string propertyName, string dataMember)

Parameters

control

Control

The control to bind.

propertyName

string

The name of the control property to bind.

dataMember

string

The name of the data source member to bind to.

Returns

Binding

A Binding object, or null if binding creation was cancelled.

CreateBoolean(PropertyDescriptor)

Creates a RadCheckBox editor for boolean properties.

Declaration

cs-api-definition
protected virtual Control CreateBoolean(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The property descriptor for the boolean property.

Returns

Control

A configured RadCheckBox control or null if creation was cancelled.

CreateChildElements()

Creates and initializes the child elements of the RadDataEntryElement with appropriate CSS classes.

Declaration

cs-api-definition
protected override void CreateChildElements()

Overrides RadScrollablePanelElement.CreateChildElements()

CreateColor(PropertyDescriptor)

Creates a RadColorBox editor for color properties.

Declaration

cs-api-definition
protected virtual Control CreateColor(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The property descriptor for the color property.

Returns

Control

A configured RadColorBox control or null if creation was cancelled.

CreateDateTime(PropertyDescriptor)

Creates a RadDateTimePicker editor for DateTime properties.

Declaration

cs-api-definition
protected virtual Control CreateDateTime(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The property descriptor for the DateTime property.

Returns

Control

A configured RadDateTimePicker control or null if creation was cancelled.

CreateEditors()

Creates appropriate editor controls for each browsable property in the data source.

Declaration

cs-api-definition
protected virtual void CreateEditors()

CreateEnum(PropertyDescriptor)

Creates a RadDropDownList editor for enum properties.

Declaration

cs-api-definition
protected virtual Control CreateEnum(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The property descriptor for the enum property.

Returns

Control

A configured RadDropDownList control or null if creation was cancelled.

CreateImage(PropertyDescriptor)

Creates a PictureBox editor for image properties.

Declaration

cs-api-definition
protected virtual Control CreateImage(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The property descriptor for the image property.

Returns

Control

A configured PictureBox control or null if creation was cancelled.

CreateSpinEditor(PropertyDescriptor)

Creates a RadSpinEditor for numeric properties.

Declaration

cs-api-definition
protected virtual Control CreateSpinEditor(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The property descriptor for the numeric property.

Returns

Control

A configured RadSpinEditor control or null if creation was cancelled.

CreateTextBox(PropertyDescriptor)

Creates a RadTextBox editor for text properties.

Declaration

cs-api-definition
protected virtual Control CreateTextBox(PropertyDescriptor property)

Parameters

property

PropertyDescriptor

The property descriptor for the text property.

Returns

Control

A configured RadTextBox control or null if creation was cancelled.

FindRequiredProperties()

Analyzes the data source properties and identifies which properties should have editor controls created for them.

Declaration

cs-api-definition
protected virtual void FindRequiredProperties()

GenerateControlsDesignTime(int, KeyValuePair<string, Control>, Size, Point)

Generates and arranges the editor controls at design time using the designer host services.

Declaration

cs-api-definition
protected virtual void GenerateControlsDesignTime(int currentColumn, KeyValuePair<string, Control> pair, Size propertyItemControlSize, Point propertyItemControlLocation)

Parameters

currentColumn

int

The current column index for positioning.

pair

KeyValuePair<string, Control>

The key-value pair containing the property name and its associated editor control.

propertyItemControlSize

Size

The size for the property item control.

propertyItemControlLocation

Point

The location for the property item control.

GenerateControlsRunTime(int, KeyValuePair<string, Control>, Size, Point)

Generates and arranges the editor controls at runtime with proper theming and layout.

Declaration

cs-api-definition
protected virtual bool GenerateControlsRunTime(int currentColumn, KeyValuePair<string, Control> pair, Size propertyItemControlSize, Point propertyItemControlLocation)

Parameters

currentColumn

int

The current column index for positioning.

pair

KeyValuePair<string, Control>

The key-value pair containing the property name and its associated editor control.

propertyItemControlSize

Size

The size for the property item control.

propertyItemControlLocation

Point

The location for the property item control.

Returns

bool

true if the control was successfully generated; otherwise, false.

InitializeDataEntry()

Initializes the data entry by setting up designer services if available in design-time mode.

Declaration

cs-api-definition
protected virtual void InitializeDataEntry()

InitializeFields()

Initializes the default field values for the RadDataEntryElement.

Declaration

cs-api-definition
protected override void InitializeFields()

Overrides RadItem.InitializeFields()

OnBindingContextChanged(EventArgs)

Handles binding context changes and rebinds the data entry if necessary.

Declaration

cs-api-definition
protected virtual void OnBindingContextChanged(EventArgs e)

Parameters

e

EventArgs

The EventArgs instance containing the event data.

OnBindingCreated(object, BindingCreatedEventArgs)

Raises the BindingCreated event.

Declaration

cs-api-definition
protected virtual void OnBindingCreated(object sender, BindingCreatedEventArgs e)

Parameters

sender

object

The sender of the event.

e

BindingCreatedEventArgs

The BindingCreatedEventArgs instance containing the event data.

OnBindingCreating(object, BindingCreatingEventArgs)

Raises the BindingCreating event.

Declaration

cs-api-definition
protected virtual void OnBindingCreating(object sender, BindingCreatingEventArgs e)

Parameters

sender

object

The sender of the event.

e

BindingCreatingEventArgs

The BindingCreatingEventArgs instance containing the event data.

OnEditorInitialized(object, EditorInitializedEventArgs)

Raises the EditorInitialized event.

Declaration

cs-api-definition
protected virtual void OnEditorInitialized(object sender, EditorInitializedEventArgs e)

Parameters

sender

object

The sender of the event.

e

EditorInitializedEventArgs

The EditorInitializedEventArgs instance containing the event data.

OnEditorInitializing(object, EditorInitializingEventArgs)

Raises the EditorInitializing event.

Declaration

cs-api-definition
protected virtual void OnEditorInitializing(object sender, EditorInitializingEventArgs e)

Parameters

sender

object

The sender of the event.

e

EditorInitializingEventArgs

The EditorInitializingEventArgs instance containing the event data.

OnItemInitialized(object, ItemInitializedEventArgs)

Raises the ItemInitialized event.

Declaration

cs-api-definition
protected virtual void OnItemInitialized(object sender, ItemInitializedEventArgs e)

Parameters

sender

object

The sender of the event.

e

ItemInitializedEventArgs

The ItemInitializedEventArgs instance containing the event data.

OnItemInitializing(object, ItemInitializingEventArgs)

Raises the ItemInitializing event.

Declaration

cs-api-definition
protected virtual void OnItemInitializing(object sender, ItemInitializingEventArgs e)

Parameters

sender

object

The sender of the event.

e

ItemInitializingEventArgs

The ItemInitializingEventArgs instance containing the event data.

OnItemValidated(object, ItemValidatedEventArgs)

Raises the ItemValidated event.

Declaration

cs-api-definition
protected virtual void OnItemValidated(object sender, ItemValidatedEventArgs e)

Parameters

sender

object

The sender of the event.

e

ItemValidatedEventArgs

The ItemValidatedEventArgs instance containing the event data.

OnItemValidating(object, ItemValidatingEventArgs)

Raises the ItemValidating event.

Declaration

cs-api-definition
protected virtual void OnItemValidating(object sender, ItemValidatingEventArgs e)

Parameters

sender

object

The sender of the event.

e

ItemValidatingEventArgs

The ItemValidatingEventArgs instance containing the event data.

OnLoaded()

Called when the element is loaded and performs final setup including clearing control borders.

Declaration

cs-api-definition
protected override void OnLoaded()

Overrides RadElement.OnLoaded()

SetupInnerControls(KeyValuePair<string, Control>, Size, Point, RadPanel, RadLabel, RadLabel, Control)

Configures the internal structure and properties of the container panel, label, validation label, and editor control.

Declaration

cs-api-definition
protected virtual void SetupInnerControls(KeyValuePair<string, Control> pair, Size propertyItemControlSize, Point propertyItemControlLocation, RadPanel propertyItemContainer, RadLabel labelControl, RadLabel validationControl, Control editorControl)

Parameters

pair

KeyValuePair<string, Control>

The key-value pair containing the property name and its associated editor control.

propertyItemControlSize

Size

The size for the property item control.

propertyItemControlLocation

Point

The location for the property item control.

propertyItemContainer

RadPanel

The container panel that will hold all the controls.

labelControl

RadLabel

The label control displaying the property name.

validationControl

RadLabel

The label control for displaying validation messages.

editorControl

Control

The editor control for the property value.

SubscribeControl(Control, PropertyDescriptor, RadLabel, RadLabel)

Subscribes a control to validation events and sets up error provider for the specified property.

Declaration

cs-api-definition
public void SubscribeControl(Control control, PropertyDescriptor property, RadLabel label, RadLabel validationLabel)

Parameters

control

Control

The editor control to subscribe.

property

PropertyDescriptor

The property descriptor associated with the control.

label

RadLabel

The label control displaying the property name.

validationLabel

RadLabel

The label control for displaying validation messages.

Events

BindingCreated

Occurs when a data binding has been successfully created for an editor control.

Declaration

cs-api-definition
public event BindingCreatedEventHandler BindingCreated

Event Value

BindingCreatedEventHandler

BindingCreating

Occurs when a data binding is being created for an editor control. This event can be cancelled to prevent binding creation.

Declaration

cs-api-definition
public event BindingCreatingEventHandler BindingCreating

Event Value

BindingCreatingEventHandler

EditorInitialized

Occurs when an editor control has been successfully initialized.

Declaration

cs-api-definition
public event EditorInitializedEventHandler EditorInitialized

Event Value

EditorInitializedEventHandler

EditorInitializing

Occurs when an editor control is being initialized. This event can be cancelled to prevent editor creation.

Declaration

cs-api-definition
public event EditorInitializingEventHandler EditorInitializing

Event Value

EditorInitializingEventHandler

ItemInitialized

Occurs when a property item container has been successfully initialized.

Declaration

cs-api-definition
public event ItemInitializedEventHandler ItemInitialized

Event Value

ItemInitializedEventHandler

ItemInitializing

Occurs when a property item container is being initialized. This event can be cancelled to prevent item creation.

Declaration

cs-api-definition
public event ItemInitializingEventHandler ItemInitializing

Event Value

ItemInitializingEventHandler

ItemValidated

Occurs when an editor item has been validated and validation has completed.

Declaration

cs-api-definition
public event ItemValidatedEventHandler ItemValidated

Event Value

ItemValidatedEventHandler

ItemValidating

Occurs when an editor item is being validated and validation rules are being checked.

Declaration

cs-api-definition
public event ItemValidatingEventHandler ItemValidating

Event Value

ItemValidatingEventHandler

In this article
DefinitionConstructorsRadDataEntryElement()FieldsErrorIconPropertyPropertiesAutoSizeLabelsColumnCountCurrentObjectDataSourceErrorIconFitToParentWidthFlowDirectionItemDefaultSizeItemSpaceManagerMethodsArrangeControls()ArrangeLabels()Bind()Clear()CreateBinding(Control, string, string)CreateBoolean(PropertyDescriptor)CreateChildElements()CreateColor(PropertyDescriptor)CreateDateTime(PropertyDescriptor)CreateEditors()CreateEnum(PropertyDescriptor)CreateImage(PropertyDescriptor)CreateSpinEditor(PropertyDescriptor)CreateTextBox(PropertyDescriptor)FindRequiredProperties()GenerateControlsDesignTime(int, KeyValuePair<string, Control>, Size, Point)GenerateControlsRunTime(int, KeyValuePair<string, Control>, Size, Point)InitializeDataEntry()InitializeFields()OnBindingContextChanged(EventArgs)OnBindingCreated(object, BindingCreatedEventArgs)OnBindingCreating(object, BindingCreatingEventArgs)OnEditorInitialized(object, EditorInitializedEventArgs)OnEditorInitializing(object, EditorInitializingEventArgs)OnItemInitialized(object, ItemInitializedEventArgs)OnItemInitializing(object, ItemInitializingEventArgs)OnItemValidated(object, ItemValidatedEventArgs)OnItemValidating(object, ItemValidatingEventArgs)OnLoaded()SetupInnerControls(KeyValuePair<string, Control>, Size, Point, RadPanel, RadLabel, RadLabel, Control)SubscribeControl(Control, PropertyDescriptor, RadLabel, RadLabel)EventsBindingCreatedBindingCreatingEditorInitializedEditorInitializingItemInitializedItemInitializingItemValidatedItemValidating
Not finding the help you need?
Contact Support