Class RadLayoutControl
A navigation control used to reorder and resize its items.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Navigation.dll
Syntax
[TelerikToolboxCategory("Containers")]
public class RadLayoutControl : LayoutControlGroupBase, ISerializable, IThemable
Constructors
RadLayoutControl()
Initializes a new instance of the RadLayoutControl class.
Declaration
public RadLayoutControl()
Fields
AdditionalCanvasItemsProperty
Identifies the AdditionalCanvasItems dependency property.
Declaration
public static readonly DependencyProperty AdditionalCanvasItemsProperty
Field Value
System.Windows.DependencyProperty
|
IsInEditModeProperty
Identifies the IsInEditMode dependency property.
Declaration
public static readonly DependencyProperty IsInEditModeProperty
Field Value
System.Windows.DependencyProperty
|
SelectedItemProperty
Identifies the SelectedItem dependency property.
Declaration
public static readonly DependencyProperty SelectedItemProperty
Field Value
System.Windows.DependencyProperty
|
SerializationIdProperty
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.
Declaration
public static readonly DependencyProperty SerializationIdProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AdditionalCanvasItems
Gets the AdditionalCanvasItems collection.
Declaration
public FreezableCollection<FrameworkElement> AdditionalCanvasItems { get; }
Property Value
System.Windows.FreezableCollection<System.Windows.FrameworkElement>
|
IsInEditMode
Gets or sets the value that indicates whether the LayoutControl is in edit mode.
Declaration
public bool IsInEditMode { get; set; }
Property Value
System.Boolean
|
SelectedItem
Gets or sets the selected item.
Declaration
public object SelectedItem { get; set; }
Property Value
System.Object
|
Methods
Deserialize(SerializationInfo)
Deserializes the specified info. Restores the property values of the instance from the info.
Declaration
public override void Deserialize(SerializationInfo info)
Parameters
SerializationInfo
info
|
Overrides
GetSerializationId(DependencyObject)
Gets the serialization id for the object.
Declaration
public static string GetSerializationId(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.String
|
LoadFromXmlString(String)
Loads a previously saved state of the LayoutControl, its child groups and layout items.
Declaration
public void LoadFromXmlString(string xmlValue)
Parameters
System.String
xmlValue
|
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call. System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.Windows.Automation.Peers.AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
The type-specific System.Windows.Automation.Peers.AutomationPeer implementation. |
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.RoutedEventArgs that contains the event data. |
ResetTheme()
Resets the theme.
Declaration
public void ResetTheme()
SaveToXmlString()
Saves the current state of the LayoutControl, its child groups and layout items into XML-based string.
Declaration
public string SaveToXmlString()
Returns
System.String
|
SetSerializationId(DependencyObject, String)
Sets the serialization id for the object.
Declaration
public static void SetSerializationId(DependencyObject obj, string value)
Parameters
System.Windows.DependencyObject
obj
|
System.String
value
|
Events
SelectionChanged
Occurs when the selection changes.
Declaration
public event EventHandler<LayoutControlSelectionChangedEventArgs> SelectionChanged
Event Type
System.EventHandler<LayoutControlSelectionChangedEventArgs>
|