Class SfDropdownViewHandler
Handler class for popup view.
Inheritance
System.Object
SfDropdownViewHandler
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 |
---|---|---|
Microsoft.Maui.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 |
---|---|---|
Microsoft.Maui.IPropertyMapper | mapper | The mapper. |
Microsoft.Maui.CommandMapper | commandMapper | The command mapper. |
SfDropdownViewHandler(PropertyMapper)
Initializes a new instance of the SfDropdownViewHandler class.
Declaration
public SfDropdownViewHandler(PropertyMapper mapper)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Maui.PropertyMapper | mapper | The mapper. |
Methods
CreatePlatformView()
Declaration
protected override object CreatePlatformView()
Returns
Type |
---|
System.Object |
Exceptions
Type | Condition |
---|---|
System.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 |
---|---|---|
Microsoft.Maui.Controls.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 |
---|---|---|
Microsoft.Maui.Controls.View | view | The view. |
UpdatePopupHeight(Double)
Update popup height method.
Declaration
public void UpdatePopupHeight(double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | height |
UpdatePopupWidth(Double)
Update popup height method.
Declaration
public void UpdatePopupWidth(double width)
Parameters
Type | Name | Description |
---|---|---|
System.Double | width |
UpdatePopupX(Int32)
Update popup height method.
Declaration
public void UpdatePopupX(int x)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | x |
UpdatePopupY(Int32)
Update popup height method.
Declaration
public void UpdatePopupY(int y)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | y |