New to Telerik UI for WPFStart a free 30-day trial

The event arguments used for the RadDocking's layout Serialization saving event.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.Docking.dll

Syntax:

C#
public class LayoutSerializationSavingEventArgs : LayoutSerializationEventArgs, IElementProperties, ICancel

Inheritance: objectEventArgsLayoutSerializationBaseEventArgsLayoutSerializationEventArgsLayoutSerializationSavingEventArgs

Implements: ICancelIElementProperties

Inherited Members LayoutSerializationEventArgs.ElementPropertiesLayoutSerializationBaseEventArgs.AffectedElementSerializationTagLayoutSerializationBaseEventArgs.AffectedElementEventArgs.Empty

Constructors

Initializes a new instance of the LayoutSerializationSavingEventArgs class.

C#
public LayoutSerializationSavingEventArgs(DependencyObject affectedElement, string affectedElementSerializationTag, Dictionary<string, string> elementProperties)
Parameters:affectedElementDependencyObject

The affected element.

affectedElementSerializationTagstring

The serialization tag of the affected element.

elementPropertiesDictionary<string, string>

A Dictionary<TKey, TValue> containing element properties of the AffectedElement that will be saved to the layout Xml of the RadDocking.

Initializes a new instance of the LayoutSerializationSavingEventArgs class.

C#
public LayoutSerializationSavingEventArgs(DependencyObject affectedElement, string affectedElementSerializationTag)
Parameters:affectedElementDependencyObject

The affected element.

affectedElementSerializationTagstring

The serialization tag of the affected element.

Properties

Gets or sets a value that determines whether the AffectedElement will be serialized.

C#
public bool Cancel { get; set; }

Implements: ICancel.Cancel