共用方式為


ShowGridLines

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets a value that indicates whether grid lines are visible within the current Grid object.

<Grid ShowGridLines="bool" .../>
value = object.ShowGridLines
object.ShowGridLines = value

Property Value

Type: Boolean

true if grid lines are visible; otherwise, false.

This property is read/write. The default is false.

Managed Equivalent

ShowGridLines

Remarks

Setting ShowGridLines to true is not intended for use in production-quality code.

Applies To

Grid

Version Information

Silverlight 2