Class SfDropdownViewHandler
Handler class for popup view.
Namespace: Syncfusion.Maui.Core
Assembly: Syncfusion.Maui.Core.dll
Syntax
public class SfDropdownViewHandler : ContentViewHandler
Constructors
SfDropdownViewHandler()
Initializes a new instance of the SfDropdownViewHandler class.
Declaration
public SfDropdownViewHandler()
SfDropdownViewHandler(IPropertyMapper?)
Initializes a new instance of the SfDropdownViewHandler class.
Declaration
public SfDropdownViewHandler(IPropertyMapper? mapper = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyMapper | mapper | The mapper. |
SfDropdownViewHandler(IPropertyMapper, CommandMapper?)
Initializes a new instance of the SfDropdownViewHandler class.
Declaration
protected SfDropdownViewHandler(IPropertyMapper mapper, CommandMapper? commandMapper = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPropertyMapper | mapper | The mapper. |
| CommandMapper | commandMapper | The command mapper. |
SfDropdownViewHandler(PropertyMapper)
Initializes a new instance of the SfDropdownViewHandler class.
Declaration
public SfDropdownViewHandler(PropertyMapper mapper)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyMapper | mapper | The mapper. |
Methods
CreatePlatformView()
Declaration
protected override object CreatePlatformView()
Returns
| Type |
|---|
| object |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException |
HidePopup()
Hide popup method.
Declaration
public void HidePopup()
ShowPopup()
Show popup method.
Declaration
public void ShowPopup()
UpdateAnchorView(View)
Update anchor view method.
Declaration
public void UpdateAnchorView(View view)
Parameters
| Type | Name | Description |
|---|---|---|
| View | view |
UpdateDropDownPlacement(DropDownPlacement)
Methods to update the DropDownPlacement to specify the placement of the dropdown in the user interface.
Declaration
public void UpdateDropDownPlacement(DropDownPlacement dropDownPlacement)
Parameters
| Type | Name | Description |
|---|---|---|
| DropDownPlacement | dropDownPlacement |
UpdatePopupContent(View)
Update popup content method.
Declaration
public void UpdatePopupContent(View view)
Parameters
| Type | Name | Description |
|---|---|---|
| View | view | The view. |
UpdatePopupHeight(double)
Update popup height method.
Declaration
public void UpdatePopupHeight(double height)
Parameters
| Type | Name | Description |
|---|---|---|
| double | height |
UpdatePopupWidth(double)
Update popup height method.
Declaration
public void UpdatePopupWidth(double width)
Parameters
| Type | Name | Description |
|---|---|---|
| double | width |
UpdatePopupX(int)
Update popup height method.
Declaration
public void UpdatePopupX(int x)
Parameters
| Type | Name | Description |
|---|---|---|
| int | x |
UpdatePopupY(int)
Update popup height method.
Declaration
public void UpdatePopupY(int y)
Parameters
| Type | Name | Description |
|---|---|---|
| int | y |