## MainWeb.HeaderBarWidth property

获取或设置控件的宽度（System.Web.UI.WebControl.Unit）或左侧标题栏。

```csharp
public Unit HeaderBarWidth { get; set; }
```

### 例子

```csharp
[C#]
	GridWeb1.HeaderBarWidth = new System.Web.UI.WebControls.Unit(32, System.Web.UI.WebControls.UnitType.Point);
	GridWeb1.HeaderBarHeight = new System.Web.UI.WebControls.Unit(24, System.Web.UI.WebControls.UnitType.Point);

[Visual Basic]
	GridWeb1.HeaderBarWidth = New System.Web.UI.WebControls.Unit(32, System.Web.UI.WebControls.UnitType.Point)
	GridWeb1.HeaderBarHeight = New System.Web.UI.WebControls.Unit(24, System.Web.UI.WebControls.UnitType.Point)
```

### 也可以看看

* class [MainWeb](../../mainweb)
* 命名空间 [Aspose.Cells.GridWeb](../../mainweb)
* 部件 [Aspose.Cells.GridWeb](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.GridWeb.dll -->
