ListViewItemPresenter.PointerOverBackgroundMargin 属性

定义

获取或设置 ListView 项单元格中指针覆盖输入操作与单元格中显示的背景边距。 对于Windows 10应用,将忽略此属性。

public:
 property Thickness PointerOverBackgroundMargin { Thickness get(); void set(Thickness value); };
Thickness PointerOverBackgroundMargin();

void PointerOverBackgroundMargin(Thickness value);
public Thickness PointerOverBackgroundMargin { get; set; }
var thickness = listViewItemPresenter.pointerOverBackgroundMargin;
listViewItemPresenter.pointerOverBackgroundMargin = thickness;
Public Property PointerOverBackgroundMargin As Thickness
<listViewItemPresenter PointerOverBackgroundMargin="uniform"/>
- or -
<listViewItemPresenter PointerOverBackgroundMargin="left&right,top&bottom"/>
- or -
<listViewItemPresenter PointerOverBackgroundMargin="left,top,right,bottom"/>

属性值

一个“厚度”值。

适用于