Interface IButtonEditParent
This interface is implemented by the ButtonEdit to listen to notifications from ButtonEditChildButton classes.
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public interface IButtonEditParent
Remarks
You will not need to use this class directly. It is useful for listening to notifications from ButtonEditChildButton class.
Methods
ChildButtonAlignmentChanged(ButtonEditChildButton, ButtonAlignment)
Notifies the listener that the ButtonEditChildButton's alignment has changed.
Declaration
void ChildButtonAlignmentChanged(ButtonEditChildButton btn, ButtonAlignment newAlign)
Parameters
Type | Name | Description |
---|---|---|
ButtonEditChildButton | btn | The ButtonEditChildButton that has changed its alignment. |
ButtonAlignment | newAlign | The new alignment. |
Remarks
This notification is sent by the ButtonEditChildButton when the ButtonAlign property value is changed. The ButtonEdit control implements this interface and receives the notification to change its layout in accordance with the new alignment of the ButtonEditChildButton. See the ButtonAlignment type for the values that the ButtonAlignment can support.
ChildButtonSizeChanged(ButtonEditChildButton, Size)
Notifies the listener that the ButtonEditChildButton's size has changed.
Declaration
void ChildButtonSizeChanged(ButtonEditChildButton btn, Size newSize)
Parameters
Type | Name | Description |
---|---|---|
ButtonEditChildButton | btn | The ButtonEditChildButton that has changed its size. |
System.Drawing.Size | newSize | The new size of the button. |
Remarks
This notification is sent by the ButtonEditChildButton when the PreferredWidth property value is changed. The ButtonEdit control implements this interface and receives the notification to change its layout in accordance with the new size of the ButtonEditChildButton.