Table of Contents

Method GetPadding

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

GetPadding(ListControlItem?, IListControlItemContainer?)

Gets the padding to apply to the specified list control item.

public static Thickness GetPadding(ListControlItem? item, IListControlItemContainer? container)

Parameters

item ListControlItem

The list control item for which to retrieve the padding. If null, an empty padding is returned.

container IListControlItemContainer

The 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 item is null.