Share via


ListViewItemPresenter.ListViewItemPresenterPadding Propriété

Définition

Notes

ListViewItemPresenterPadding peut être modifié ou indisponible pour les mises en production après Windows 10. Utilisez plutôt ContentPresenter.Padding.

Obtient ou définit le remplissage autour du présentateur.

public:
 property Thickness ListViewItemPresenterPadding { Thickness get(); void set(Thickness value); };
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
Thickness ListViewItemPresenterPadding();

void ListViewItemPresenterPadding(Thickness value);
/// [get: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
Thickness ListViewItemPresenterPadding();

void ListViewItemPresenterPadding(Thickness value);
public Thickness ListViewItemPresenterPadding { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public Thickness ListViewItemPresenterPadding { [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("Use ContentPresenter.Padding instead of GridViewItemPresenterPadding. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var thickness = listViewItemPresenter.listViewItemPresenterPadding;
listViewItemPresenter.listViewItemPresenterPadding = thickness;
Public Property ListViewItemPresenterPadding As Thickness

Valeur de propriété

Valeur d’épaisseur .

Attributs

Remarques

Important

ListViewItemPresenterPadding peut être modifié ou indisponible pour les mises en production après Windows 10. Utilisez plutôt ContentPresenter.Padding.

S’applique à