## MainWeb.OnShapeSelectedClientFunction property

获取或设置选择形状时要调用的客户端函数。 客户端函数应声明如下： 函数 MyOnSelectShape（形状） { var name=shape.getAttribute("namevalue") var text=shape.getAttribute("textvalue") var value=shape.getAttribute("controlvalue") var type=shape.getAttribute("msotype") }注意：您可以在客户端函数中使用“this”指针来指向触发事件的网格控件。

```csharp
public string OnShapeSelectedClientFunction { get; set; }
```

### 也可以看看

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

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