Class CalculatorLayoutTypeChangedEventArgs
The event data for LayoutTypeChanged event.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class CalculatorLayoutTypeChangedEventArgs
Remarks
This class contains the data needed for handling a change in the layout type of the Calculator Control. The Calculator Control supports two different layouts as enumerated by the CalculatorLayoutTypes enumeration.
When the LayoutType property is set to a particular layout, the internal implementation of the CalculatorControl needs to know about the change and other classes that interact with the CalculatorControl will also needs to know so that they can adjust themselves to the new layout.
Constructors
CalculatorLayoutTypeChangedEventArgs(CalculatorLayoutTypes)
Initializes a new instance of the CalculatorLayoutTypeChangedEventArgs class.
Declaration
public CalculatorLayoutTypeChangedEventArgs(CalculatorLayoutTypes layoutType)
Parameters
Type | Name | Description |
---|---|---|
CalculatorLayoutTypes | layoutType | A value of type CalculatorLayoutTypes. |
Remarks
The new layout that has been set on the CalculatorControl is the only variable that is needed for this data type. This can also be accessed through the LayoutType property.
Properties
LayoutType
Gets or sets the new layout type that has been applied to the CalculatorControl.
Declaration
public CalculatorLayoutTypes LayoutType { get; set; }
Property Value
Type |
---|
CalculatorLayoutTypes |
Remarks
The CalculatorControl supports two different layouts as enumerated by the CalculatorLayoutTypes enumeration.