RadLayoutControl
Represents a layout control that allows for the arrangement and manipulation of its child elements. The RadLayoutControl facilitates drag-and-drop operations, enabling users to reorder and resize layout items visually. It includes support for dynamic layouts, serialization of child elements, and customizable appearance based on themes. This control also provides mechanisms for handling user interactions such as selection changes and context menu actions, making it a versatile component for building responsive and adaptive user interfaces.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Navigation.dll
Syntax:
[TelerikToolboxCategory("Containers")]
public class RadLayoutControl : LayoutControlGroupBase, ISerializable
Inheritance: objectLayoutControlGroupBaseRadLayoutControl
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadLayoutControl class.
public RadLayoutControl()
Fields
AdditionalCanvasItemsProperty
DependencyProperty
Identifies the AdditionalCanvasItems dependency property.
public static readonly DependencyProperty AdditionalCanvasItemsProperty
IsInEditModeProperty
DependencyProperty
Identifies the IsInEditMode dependency property.
public static readonly DependencyProperty IsInEditModeProperty
SelectedItemProperty
DependencyProperty
Identifies the SelectedItem dependency property.
public static readonly DependencyProperty SelectedItemProperty
SerializationIdProperty
DependencyProperty
Identifies the SerializationId attached dependency property. Use this property to set serialization Id on LayoutControl, LayoutControlGroups and all child elements in them you need to save/load.
public static readonly DependencyProperty SerializationIdProperty
Properties
AdditionalCanvasItems
FreezableCollection<FrameworkElement>
Gets the AdditionalCanvasItems collection.
public FreezableCollection<FrameworkElement> AdditionalCanvasItems { get; }
Gets or sets the value that indicates whether the LayoutControl is in edit mode.
public bool IsInEditMode { get; set; }
Gets or sets the selected item.
public object SelectedItem { get; set; }
Methods
Deserializes the specified info. Restores the property values of the instance from the info.
public override void Deserialize(SerializationInfo info)
Overrides:
Gets the serialization id for the object.
public static string GetSerializationId(DependencyObject obj)
Loads a previously saved state of the LayoutControl, its child groups and layout items.
When overridden in a derived class, is invoked whenever application code or internal processes call. .
public override void OnApplyTemplate()
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Resets the theme.
public void ResetTheme()
Saves the current state of the LayoutControl, its child groups and layout items into XML-based string.
Sets the serialization id for the object.
public static void SetSerializationId(DependencyObject obj, string value)
Events
Occurs when the selection changes.
public event EventHandler<LayoutControlSelectionChangedEventArgs> SelectionChanged