Class
RadDataLayout

An extension of the RadLayoutControl which adds data binding functionality. When set with a DataSource, RadDataLayout automatically generates editors for each of the fields in the datasource. Provides validation functionality and additional interface for displaying validation messages.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Editors")]
[Docking(DockingBehavior.Ask)]
public class RadDataLayout : RadNCEnabledControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentControlScrollableControlRadControlRadNonClientUIControlRadNCEnabledControlRadDataLayout

Implements: IAnalyticsProviderIBindableComponentIComponentIComponentTreeHandlerIDisposableIDropTargetILayoutHandlerINotifyPropertyChangedISupportInitializeISupportInitializeNotificationISynchronizeInvokeIWin32Window

Inherited Members RadNCEnabledControl.WndProc(ref Message)RadNCEnabledControl.WmNCHitTest(ref Message)RadNCEnabledControl.IconCaptionElementRadNCEnabledControl.MinimizeButtonElementRadNCEnabledControl.MaximizeButtonElementRadNCEnabledControl.HelpButtonElementRadNCEnabledControl.SystemButtonsElementRadNCEnabledControl.TextCaptionElementRadControl.isResizing2RadControl.isDisposing2RadControl.invalidResizeRectRadControl.isAccessibilityRequestedRadControl.Construct()RadControl.CreateBehavior()RadControl.CreateRootElement()RadControl.InitializeRootElement(RootRadElement)RadControl.LoadElementTree()RadControl.LoadElementTree(Size)RadControl.OnKeyDown(KeyEventArgs)RadControl.OnKeyUp(KeyEventArgs)RadControl.OnPreviewKeyDown(PreviewKeyDownEventArgs)RadControl.OnKeyPress(KeyPressEventArgs)RadControl.OnClick(EventArgs)RadControl.OnDoubleClick(EventArgs)RadControl.OnMouseDown(MouseEventArgs)RadControl.OnMouseUp(MouseEventArgs)RadControl.OnMouseEnter(EventArgs)RadControl.OnMouseLeave(EventArgs)RadControl.OnMouseMove(MouseEventArgs)RadControl.OnMouseHover(EventArgs)RadControl.OnMouseWheel(MouseEventArgs)RadControl.OnMouseCaptureChanged(EventArgs)RadControl.OnGotFocus(EventArgs)RadControl.OnLostFocus(EventArgs)RadControl.OnCreateControl()RadControl.OnHandleDestroyed(EventArgs)RadControl.OnParentChanged(EventArgs)RadControl.OnVisibleChanged(EventArgs)RadControl.OnFontChanged(EventArgs)RadControl.OnForeColorChanged(EventArgs)RadControl.OnBackColorChanged(EventArgs)RadControl.OnEnabledChanged(EventArgs)RadControl.OnLocationChanged(EventArgs)RadControl.OnPaddingChanged(EventArgs)RadControl.OnRightToLeftChanged(EventArgs)RadControl.OnPaint(PaintEventArgs)RadControl.OnLayout(LayoutEventArgs)RadControl.OnAutoSizeChanged(EventArgs)RadControl.OnInvalidated(RadElement)RadControl.OnLoad(Size)RadControl.OnCaptureLosing()RadControl.OnToolTipTextNeeded(object, ToolTipTextNeededEventArgs)RadControl.OnScreenTipNeeded(object, ScreenTipNeededEventArgs)RadControl.OnThemeNameChanged(ThemeNameChangedEventArgs)RadControl.ProcessMnemonic(char)RadControl.ProcessFocusRequested(RadElement)RadControl.ProcessCaptureChangeRequested(RadElement, bool)RadControl.ProcessAutoSizeChanged(bool)RadControl.IsInputKey(Keys)RadControl.GetInputElement()RadControl.BeginInit()RadControl.OnNotifyPropertyChanged(string)RadControl.OnNotifyPropertyChanged(PropertyChangedEventArgs)RadControl.GetPreferredSize(Size)RadControl.SetBoundsCore(int, int, int, int, BoundsSpecified)RadControl.GetRootElementDesiredSize(int, int, int, int)RadControl.OnZoomGesture(ZoomGestureEventArgs)RadControl.OnRotateGesture(RotateGestureEventArgs)RadControl.OnPanGesture(PanGestureEventArgs)RadControl.OnTwoFingerTapGesture(GestureEventArgs)RadControl.OnPressAndTapGesture(PressAndTapGestureEventArgs)RadControl.OnGesture(GestureEventArgs)RadControl.ProcessGesture(Message)RadControl.EnableGesture(GestureType)RadControl.DisableGesture(GestureType)RadControl.Refresh()RadControl.SuspendUpdate()RadControl.ResumeUpdate()RadControl.ResumeUpdate(bool)RadControl.InvokeLayoutCallback(LayoutCallback)RadControl.RegisterHostedControl(RadHostItem)RadControl.UnregisterHostedControl(RadHostItem, bool)RadControl.ResolveStyleGroupForElement(StyleGroup, RadObject)RadControl.GetPlainText()RadControl.ShouldSerializeProperty(RadProperty)RadControl.ShouldSerializeProperty(RadProperty, RadObject)RadControl.ResetProperty(RadProperty, RadObject)RadControl.CanEditElementAtDesignTime(RadElement)RadControl.ProcessCodedUIMessage(ref IPCMessage)RadControl.FindPropertyInChildren(RadControl, IPCMessage)RadControl.ScaleControl(SizeF, BoundsSpecified)RadControl.PerformRadAutoScale(BoundsSpecified?)RadControl.GetMonitorDpiScaleFactor(Control)RadControl.SetRadAutoScale(bool)RadControl.EnableDpiScalingRadControl.EnableRadAutoScaleRadControl.EnableRadFormInitialDpiScalingRadControl.EnableImageDpiScalingRadControl.EnableSvgImagesRadControl.IsLoadedRadControl.ElementTreeRadControl.UseCompatibleTextRenderingDefaultValueRadControl.BehaviorRadControl.RootElementRadControl.PaddingRadControl.ThemeNameRadControl.TextRadControl.EnableThemingRadControl.ThemeClassNameRadControl.ImageListRadControl.ImageScalingSizeRadControl.UseCompatibleTextRenderingRadControl.AutoSizeRadControl.MaximumSizeRadControl.MinimumSizeRadControl.FocusableRadControl.SiteRadControl.CausesValidationRadControl.IsInitializingRadControl.SmallImageListRadControl.SmallImageScalingSizeRadControl.IsDesignModeRadControl.IsDisplayedRadControl.FocusedElementRadControl.AllowShowFocusCuesRadControl.ShowItemToolTipsRadControl.CommandBindingsRadControl.EnableKeyMapRadControl.BackColorRadControl.ForeColorRadControl.FontRadControl.ValidationCancelRadControl.EnableAnalyticsRadControl.AnalyticsNameRadControl.EnableRadAccessibilityObjectsRadControl.EnableCodedUITestsRadControl.EnableCodedUITestsDefaultValueRadControl.EnableUIAutomationRadControl.EnableUIAutomationDefaultValueRadControl.ElementInvalidatedRadControl.ToolTipTextNeededRadControl.ScreenTipNeededRadControl.ThemeNameChangedRadControl.InitializedRadControl.PropertyChangedRadControl.ZoomGestureRadControl.RotateGestureRadControl.PanGestureRadControl.TwoFingerTapGestureRadControl.PressAndTapGestureScrollableControl.ScrollStateAutoScrollingScrollableControl.ScrollStateHScrollVisibleScrollableControl.ScrollStateVScrollVisibleScrollableControl.ScrollStateUserHasScrolledScrollableControl.ScrollStateFullDragScrollableControl.AdjustFormScrollbars(bool)ScrollableControl.GetScrollState(int)ScrollableControl.OnPaintBackground(PaintEventArgs)ScrollableControl.SetDisplayRectLocation(int, int)ScrollableControl.ScrollControlIntoView(Control)ScrollableControl.ScrollToControl(Control)ScrollableControl.OnScroll(ScrollEventArgs)ScrollableControl.SetAutoScrollMargin(int, int)ScrollableControl.SetScrollState(int, bool)ScrollableControl.AutoScrollScrollableControl.AutoScrollMarginScrollableControl.AutoScrollPositionScrollableControl.AutoScrollMinSizeScrollableControl.CreateParamsScrollableControl.DisplayRectangleScrollableControl.HScrollScrollableControl.HorizontalScrollScrollableControl.VScrollScrollableControl.VerticalScrollScrollableControl.ScrollControl.GetAccessibilityObjectById(int)Control.SetAutoSizeMode(AutoSizeMode)Control.GetAutoSizeMode()Control.AccessibilityNotifyClients(AccessibleEvents, int)Control.AccessibilityNotifyClients(AccessibleEvents, int, int)Control.BeginInvoke(Delegate)Control.BeginInvoke(Delegate, params object[])Control.BringToFront()Control.Contains(Control)Control.CreateAccessibilityInstance()Control.CreateControlsInstance()Control.CreateGraphics()Control.CreateHandle()Control.CreateControl()Control.DefWndProc(ref Message)Control.DestroyHandle()Control.DoDragDrop(object, DragDropEffects)Control.DrawToBitmap(Bitmap, Rectangle)Control.EndInvoke(IAsyncResult)Control.FindForm()Control.GetTopLevel()Control.RaiseKeyEvent(object, KeyEventArgs)Control.RaiseMouseEvent(object, MouseEventArgs)Control.Focus()Control.FromChildHandle(IntPtr)Control.FromHandle(IntPtr)Control.GetChildAtPoint(Point, GetChildAtPointSkip)Control.GetChildAtPoint(Point)Control.GetContainerControl()Control.GetScaledBounds(Rectangle, SizeF, BoundsSpecified)Control.GetNextControl(Control, bool)Control.GetStyle(ControlStyles)Control.Hide()Control.InitLayout()Control.Invalidate(Region)Control.Invalidate(Region, bool)Control.Invalidate()Control.Invalidate(bool)Control.Invalidate(Rectangle)Control.Invalidate(Rectangle, bool)Control.Invoke(Delegate)Control.Invoke(Delegate, params object[])Control.InvokePaint(Control, PaintEventArgs)Control.InvokePaintBackground(Control, PaintEventArgs)Control.IsKeyLocked(Keys)Control.IsInputChar(char)Control.IsMnemonic(char, string)Control.LogicalToDeviceUnits(int)Control.LogicalToDeviceUnits(Size)Control.ScaleBitmapLogicalToDevice(ref Bitmap)Control.NotifyInvalidate(Rectangle)Control.InvokeOnClick(Control, EventArgs)Control.OnBackgroundImageChanged(EventArgs)Control.OnBackgroundImageLayoutChanged(EventArgs)Control.OnCausesValidationChanged(EventArgs)Control.OnContextMenuChanged(EventArgs)Control.OnContextMenuStripChanged(EventArgs)Control.OnCursorChanged(EventArgs)Control.OnDockChanged(EventArgs)Control.OnNotifyMessage(Message)Control.OnParentBackColorChanged(EventArgs)Control.OnParentBackgroundImageChanged(EventArgs)Control.OnParentBindingContextChanged(EventArgs)Control.OnParentCursorChanged(EventArgs)Control.OnParentEnabledChanged(EventArgs)Control.OnParentFontChanged(EventArgs)Control.OnParentForeColorChanged(EventArgs)Control.OnParentRightToLeftChanged(EventArgs)Control.OnParentVisibleChanged(EventArgs)Control.OnPrint(PaintEventArgs)Control.OnTabIndexChanged(EventArgs)Control.OnTabStopChanged(EventArgs)Control.OnTextChanged(EventArgs)Control.OnClientSizeChanged(EventArgs)Control.OnControlAdded(ControlEventArgs)Control.OnControlRemoved(ControlEventArgs)Control.OnHandleCreated(EventArgs)Control.OnDragEnter(DragEventArgs)Control.OnDragOver(DragEventArgs)Control.OnDragLeave(EventArgs)Control.OnDragDrop(DragEventArgs)Control.OnGiveFeedback(GiveFeedbackEventArgs)Control.OnEnter(EventArgs)Control.InvokeGotFocus(Control, EventArgs)Control.OnHelpRequested(HelpEventArgs)Control.OnInvalidated(InvalidateEventArgs)Control.OnLeave(EventArgs)Control.InvokeLostFocus(Control, EventArgs)Control.OnMarginChanged(EventArgs)Control.OnMouseDoubleClick(MouseEventArgs)Control.OnMouseClick(MouseEventArgs)Control.OnDpiChangedBeforeParent(EventArgs)Control.OnDpiChangedAfterParent(EventArgs)Control.OnMove(EventArgs)Control.OnQueryContinueDrag(QueryContinueDragEventArgs)Control.OnRegionChanged(EventArgs)Control.OnResize(EventArgs)Control.OnChangeUICues(UICuesEventArgs)Control.OnStyleChanged(EventArgs)Control.OnSystemColorsChanged(EventArgs)Control.OnValidating(CancelEventArgs)Control.OnValidated(EventArgs)Control.RescaleConstantsForDpi(int, int)Control.PerformLayout()Control.PerformLayout(Control, string)Control.PointToClient(Point)Control.PointToScreen(Point)Control.PreProcessMessage(ref Message)Control.PreProcessControlMessage(ref Message)Control.ProcessCmdKey(ref Message, Keys)Control.ProcessDialogChar(char)Control.ProcessDialogKey(Keys)Control.ProcessKeyEventArgs(ref Message)Control.ProcessKeyMessage(ref Message)Control.ProcessKeyPreview(ref Message)Control.RaiseDragEvent(object, DragEventArgs)Control.RaisePaintEvent(object, PaintEventArgs)Control.RecreateHandle()Control.RectangleToClient(Rectangle)Control.RectangleToScreen(Rectangle)Control.ReflectMessage(IntPtr, ref Message)Control.ResetMouseEventArgs()Control.ResetText()Control.ResumeLayout()Control.ResumeLayout(bool)Control.Scale(SizeF)Control.Select()Control.Select(bool, bool)Control.SelectNextControl(Control, bool, bool, bool, bool)Control.SendToBack()Control.SetBounds(int, int, int, int)Control.SetBounds(int, int, int, int, BoundsSpecified)Control.SetClientSizeCore(int, int)Control.SizeFromClientSize(Size)Control.SetStyle(ControlStyles, bool)Control.SetTopLevel(bool)Control.SetVisibleCore(bool)Control.RtlTranslateAlignment(HorizontalAlignment)Control.RtlTranslateAlignment(LeftRightAlignment)Control.RtlTranslateAlignment(ContentAlignment)Control.RtlTranslateHorizontal(HorizontalAlignment)Control.RtlTranslateLeftRight(LeftRightAlignment)Control.RtlTranslateContent(ContentAlignment)Control.Show()Control.SuspendLayout()Control.Update()Control.UpdateBounds()Control.UpdateBounds(int, int, int, int)Control.UpdateBounds(int, int, int, int, int, int)Control.UpdateZOrder()Control.UpdateStyles()Control.OnImeModeChanged(EventArgs)Control.AccessibilityObjectControl.AccessibleDefaultActionDescriptionControl.AccessibleDescriptionControl.AccessibleNameControl.AccessibleRoleControl.AllowDropControl.AnchorControl.AutoScrollOffsetControl.LayoutEngineControl.BackgroundImageControl.BackgroundImageLayoutControl.BindingContextControl.BottomControl.BoundsControl.CanFocusControl.CanRaiseEventsControl.CanSelectControl.CaptureControl.CheckForIllegalCrossThreadCallsControl.ClientRectangleControl.ClientSizeControl.CompanyNameControl.ContainsFocusControl.ContextMenuControl.ContextMenuStripControl.ControlsControl.CreatedControl.CursorControl.DataBindingsControl.DefaultBackColorControl.DefaultCursorControl.DefaultFontControl.DefaultForeColorControl.DefaultMarginControl.DefaultMaximumSizeControl.DefaultMinimumSizeControl.DefaultPaddingControl.DeviceDpiControl.IsDisposedControl.DisposingControl.DockControl.DoubleBufferedControl.EnabledControl.FocusedControl.FontHeightControl.HandleControl.HasChildrenControl.HeightControl.IsHandleCreatedControl.InvokeRequiredControl.IsAccessibleControl.IsMirroredControl.LeftControl.LocationControl.MarginControl.ModifierKeysControl.MouseButtonsControl.MousePositionControl.NameControl.ParentControl.ProductNameControl.ProductVersionControl.RecreatingHandleControl.RegionControl.RenderRightToLeftControl.ResizeRedrawControl.RightControl.RightToLeftControl.ScaleChildrenControl.SizeControl.TabIndexControl.TabStopControl.TagControl.TopControl.TopLevelControlControl.ShowKeyboardCuesControl.ShowFocusCuesControl.UseWaitCursorControl.VisibleControl.WidthControl.PreferredSizeControl.CanEnableImeControl.DefaultImeModeControl.ImeModeControl.ImeModeBaseControl.PropagatingImeModeControl.BackColorChangedControl.BackgroundImageChangedControl.BackgroundImageLayoutChangedControl.BindingContextChangedControl.CausesValidationChangedControl.ClientSizeChangedControl.ContextMenuChangedControl.ContextMenuStripChangedControl.CursorChangedControl.DockChangedControl.EnabledChangedControl.FontChangedControl.ForeColorChangedControl.LocationChangedControl.MarginChangedControl.RegionChangedControl.RightToLeftChangedControl.SizeChangedControl.TabIndexChangedControl.TabStopChangedControl.TextChangedControl.VisibleChangedControl.ClickControl.ControlAddedControl.ControlRemovedControl.DragDropControl.DragEnterControl.DragOverControl.DragLeaveControl.GiveFeedbackControl.HandleCreatedControl.HandleDestroyedControl.HelpRequestedControl.InvalidatedControl.PaddingChangedControl.PaintControl.QueryContinueDragControl.QueryAccessibilityHelpControl.DoubleClickControl.EnterControl.GotFocusControl.KeyDownControl.KeyPressControl.KeyUpControl.LayoutControl.LeaveControl.LostFocusControl.MouseClickControl.MouseDoubleClickControl.MouseCaptureChangedControl.MouseDownControl.MouseEnterControl.MouseLeaveControl.DpiChangedBeforeParentControl.DpiChangedAfterParentControl.MouseHoverControl.MouseMoveControl.MouseUpControl.MouseWheelControl.MoveControl.PreviewKeyDownControl.ResizeControl.ChangeUICuesControl.StyleChangedControl.SystemColorsChangedControl.ValidatingControl.ValidatedControl.ParentChangedControl.ImeModeChangedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.EventsComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)

Constructors

RadDataLayout()

Initializes a new instance of the RadDataLayout class.

Declaration

cs-api-definition
public RadDataLayout()

Properties

AutoSizeLabels

If [true], the labels will have a fixed size, best-fitted to the largest text in the column. If [false], the labels will have their default proportional size.

Declaration

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

Property Value

bool

ClientMargin

Gets the margin around the client area of the control. In the default case, this should be the border thickness.

Declaration

cs-api-definition
public Padding ClientMargin { get; }

Property Value

Padding

ColumnCount

Gets or sets the number of columns which will be used to arrange generated controls.

Declaration

cs-api-definition
[Browsable(true)]
public int ColumnCount { get; set; }

Property Value

int

Exceptions

ArgumentException

Number Of Columns should be at least one

CurrentObject

Gets the current object.

Declaration

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

Property Value

object

DataLayoutElement

Gets the instance of RadDataLayoutElement which is the main element in the hierarchy tree and encapsulates the actual functionality of RadDataLayout.

Declaration

cs-api-definition
[Browsable(false)]
public RadDataLayoutElement DataLayoutElement { get; }

Property Value

RadDataLayoutElement

DataSource

Gets or sets the DataSource. Setting the DataSource will auto-generate editors for the fields in it.

Declaration

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

Property Value

object

DefaultSize

Gets the default size of the RadDataLayout control.

Declaration

cs-api-definition
protected override Size DefaultSize { get; }

Property Value

Size

Overrides Control.DefaultSize

EnableNCModification

Gets a value indicating whether non-client modification is enabled for this control.

Declaration

cs-api-definition
protected override bool EnableNCModification { get; }

Property Value

bool

Overrides RadNCEnabledControl.EnableNCModification

EnableNCPainting

Gets a value indicating whether non-client painting is enabled for this control.

Declaration

cs-api-definition
protected override bool EnableNCPainting { get; }

Property Value

bool

Overrides RadNCEnabledControl.EnableNCPainting

FlowDirection

Gets or sets a value indicating the flow direction of generated editors when the ColumnCount property has value bigger than 1.

Declaration

cs-api-definition
[Browsable(true)]
public FlowDirection FlowDirection { get; set; }

Property Value

FlowDirection

ItemDefaultHeight

The ItemDefaultHeight property sets the height that generated items should have.

Declaration

cs-api-definition
[Browsable(true)]
public int ItemDefaultHeight { get; set; }

Property Value

int

LayoutControl

Gets the inner RadLayoutControl.

Declaration

cs-api-definition
[Browsable(true)]
public RadLayoutControl LayoutControl { get; }

Property Value

RadLayoutControl

Manager

Gets the BindingManagerBase manager that is used to manage the current DataSource.

Declaration

cs-api-definition
[Browsable(false)]
public BindingManagerBase Manager { get; }

Property Value

BindingManagerBase

ShowValidationPanel

Gets or sets a value indicating whether the validation panel should appear.

Declaration

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

Property Value

bool

ValidationPanel

Gets the validation panel.

Declaration

cs-api-definition
[Browsable(true)]
public ValidationPanel ValidationPanel { get; }

Property Value

ValidationPanel

Methods

CreateChildItems(RadElement)

Creates child elements for the RadDataLayout control.

Declaration

cs-api-definition
protected override void CreateChildItems(RadElement parent)

Parameters

parent

RadElement

The parent element.

Overrides RadControl.CreateChildItems(RadElement)

Dispose(bool)

Releases the unmanaged resources used by the RadDataLayout and optionally releases the managed resources.

Declaration

cs-api-definition
protected override void Dispose(bool disposing)

Parameters

disposing

bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides RadControl.Dispose(bool)

EndInit()

Completes the initialization of the component and performs binding if necessary.

Declaration

cs-api-definition
public override void EndInit()

Overrides RadControl.EndInit()

GetNCMetrics()

Gets the non-client area metrics for the control.

Declaration

cs-api-definition
protected override Padding GetNCMetrics()

Returns

Padding

A Padding structure representing the border thickness.

Overrides RadNCEnabledControl.GetNCMetrics()

InitializeInternalControls()

Initializes the RadLayoutControl and the ValidationPanel

Declaration

cs-api-definition
protected virtual void InitializeInternalControls()

OnBindingContextChanged(EventArgs)

Raises the BindingContextChanged event.

Declaration

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

Parameters

e

EventArgs

An EventArgs that contains the event data.

Overrides RadControl.OnBindingContextChanged(EventArgs)

OnBindingCreated(object, BindingCreatedEventArgs)

Fires the BindingCreated event.

Declaration

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

Parameters

sender

object

The sender.

e

BindingCreatedEventArgs

The BindingCreatedEventArgs instance containing the event data.

OnBindingCreating(object, BindingCreatingEventArgs)

Fires the BindingCreating event.

Declaration

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

Parameters

sender

object

The sender.

e

BindingCreatingEventArgs

The BindingCreatingEventArgs instance containing the event data.

OnEditorInitialized(object, EditorInitializedEventArgs)

Fires the EditorInitialized event.

Declaration

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

Parameters

sender

object

The sender.

e

EditorInitializedEventArgs

The EditorInitializedEventArgs instance containing the event data.

OnEditorInitializing(object, EditorInitializingEventArgs)

Fires the EditorInitializing event.

Declaration

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

Parameters

sender

object

The sender.

e

EditorInitializingEventArgs

The EditorInitializingEventArgs instance containing the event data.

OnItemInitialized(object, DataLayoutItemInitializedEventArgs)

Fires the ItemInitialized event.

Declaration

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

Parameters

sender

object

The sender.

e

DataLayoutItemInitializedEventArgs

The DataLayoutItemInitializedEventArgs instance containing the event data.

OnItemInitializing(object, DataLayoutItemInitializingEventArgs)

Fires the ItemInitializing event.

Declaration

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

Parameters

sender

object

The sender.

e

DataLayoutItemInitializingEventArgs

The DataLayoutItemInitializingEventArgs instance containing the event data.

OnItemValidated(object, DataLayoutItemValidatedEventArgs)

Fires the ItemValidated event.

Declaration

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

Parameters

sender

object

The sender.

e

DataLayoutItemValidatedEventArgs

The DataLayoutItemValidatedEventArgs instance containing the event data.

OnItemValidating(object, DataLayoutItemValidatingEventArgs)

Fires the ItemValidating event.

Declaration

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

Parameters

sender

object

The sender.

e

DataLayoutItemValidatingEventArgs

The DataLayoutItemValidatingEventArgs instance containing the event data.

OnNCPaint(Graphics)

Performs custom painting of the non-client area.

Declaration

cs-api-definition
protected override void OnNCPaint(Graphics g)

Parameters

g

Graphics

The Graphics object used for painting.

Overrides RadNCEnabledControl.OnNCPaint(Graphics)

OnSizeChanged(EventArgs)

Raises the SizeChanged event and invalidates the non-client area.

Declaration

cs-api-definition
protected override void OnSizeChanged(EventArgs e)

Parameters

e

EventArgs

An EventArgs that contains the event data.

Overrides Control.OnSizeChanged(EventArgs)

OnThemeChanged()

Raises the ThemeChanged event and updates theme-related properties.

Declaration

cs-api-definition
protected override void OnThemeChanged()

Overrides RadControl.OnThemeChanged()

ResetBackColorThemeOverrides()

Resets the background color theme overrides for this control and its internal layout control.

Declaration

cs-api-definition
protected override void ResetBackColorThemeOverrides()

Overrides RadControl.ResetBackColorThemeOverrides()

ResetForeColorThemeOverrides()

Resets the foreground color theme overrides for this control and its internal layout control.

Declaration

cs-api-definition
protected override void ResetForeColorThemeOverrides()

Overrides RadControl.ResetForeColorThemeOverrides()

SetBackColorThemeOverrides()

Sets the background color theme overrides for this control and its internal layout control.

Declaration

cs-api-definition
protected override void SetBackColorThemeOverrides()

Overrides RadControl.SetBackColorThemeOverrides()

SetForeColorThemeOverrides()

Sets the foreground color theme overrides for this control and its internal layout control.

Declaration

cs-api-definition
protected override void SetForeColorThemeOverrides()

Overrides RadControl.SetForeColorThemeOverrides()

UpdateValidationPanelVisibility()

Updates the validation panel visibility.

Declaration

cs-api-definition
public virtual void UpdateValidationPanelVisibility()

Events

BindingCreated

Occurs when binding object is created.

Declaration

cs-api-definition
public event BindingCreatedEventHandler BindingCreated

Event Value

BindingCreatedEventHandler

BindingCreating

Occurs when a binding object for an editor is about to be created. This event is cancelable.

Declaration

cs-api-definition
public event BindingCreatingEventHandler BindingCreating

Event Value

BindingCreatingEventHandler

EditorInitialized

Occurs when the editor is Initialized.

Declaration

cs-api-definition
public event EditorInitializedEventHandler EditorInitialized

Event Value

EditorInitializedEventHandler

EditorInitializing

Occurs when editor is being initialized. This event is cancelable

Declaration

cs-api-definition
public event EditorInitializingEventHandler EditorInitializing

Event Value

EditorInitializingEventHandler

ItemInitialized

Occurs the item is already Initialized.

Declaration

cs-api-definition
public event DataLayoutItemInitializedEventHandler ItemInitialized

Event Value

DataLayoutItemInitializedEventHandler

ItemInitializing

This event is firing when the item associated with a given field is about to be Initialized. This event is cancelable..

Declaration

cs-api-definition
public event DataLayoutItemInitializingEventHandler ItemInitializing

Event Value

DataLayoutItemInitializingEventHandler

ItemValidated

Occurs when the value of editor is changed.

Declaration

cs-api-definition
public event DataLayoutItemValidatedEventHandler ItemValidated

Event Value

DataLayoutItemValidatedEventHandler

ItemValidating

Occurs when the value of editor is about to change.

Declaration

cs-api-definition
public event DataLayoutItemValidatingEventHandler ItemValidating

Event Value

DataLayoutItemValidatingEventHandler