Method GetPadding
GetPadding(ListControlItem?, IListControlItemContainer?)
Gets the padding to apply to the specified list control item.
public static Thickness GetPadding(ListControlItem? item, IListControlItemContainer? container)
Parameters
itemListControlItemThe list control item for which to retrieve the padding. If null, an empty padding is returned.
containerIListControlItemContainerThe container that holds the list control item. This parameter is reserved for future use and is not currently utilized.
Returns
- Thickness
A Thickness value representing the padding for the specified item. Returns Thickness.Empty if
itemis null.