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

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ItemStyleChangingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsItemStyleChangingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Gets the property which is about to be changed.

C#
public RadProperty Property { get; }

Constructors

Creats a new instance of the ItemStyleChangingEventArgs class.

C#
public ItemStyleChangingEventArgs(RadElement element, RadRibbonBarGroup group, RadProperty property, object oldValue, object newValue, ItemStyleContext context)
Parameters:elementRadElement

The element which is about to be changed.

groupRadRibbonBarGroup

The group which element is changing.

propertyRadProperty

The property which is changing.

oldValueobject

The old value of the proeprty.

newValueobject

The new value of the proeprty.

contextItemStyleContext

The new value of the proeprty.

Properties

Gets the context in which the RadProperty in changing.

C#
public ItemStyleContext Context { get; }

Gets the element which property is about to be changed.

C#
public RadElement Element { get; }

Gets the group which element is about to be changed.

C#
public RadRibbonBarGroup Group { get; }

Gets or sets the new value of the property.

C#
public object NewValue { get; set; }

Gets the old value of the property.

C#
public object OldValue { get; }