共用方式為


DataRepeaterItem.SetBoundsCore 方法

這個應用程式開發介面支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

DataRepeaterItem物件是由DataRepeater控制項在內部使用,以在執行階段顯示資料,。 ItemTemplate的設定會決定資料顯示方式。

命名空間:  Microsoft.VisualBasic.PowerPacks
組件:  Microsoft.VisualBasic.PowerPacks.Vs (在 Microsoft.VisualBasic.PowerPacks.Vs.dll 中)

語法

'宣告
Protected Overrides Sub SetBoundsCore ( _
    x As Integer, _
    y As Integer, _
    width As Integer, _
    height As Integer, _
    specified As BoundsSpecified _
)
protected override void SetBoundsCore(
    int x,
    int y,
    int width,
    int height,
    BoundsSpecified specified
)
protected:
virtual void SetBoundsCore(
    int x, 
    int y, 
    int width, 
    int height, 
    BoundsSpecified specified
) override
abstract SetBoundsCore : 
        x:int * 
        y:int * 
        width:int * 
        height:int * 
        specified:BoundsSpecified -> unit  
override SetBoundsCore : 
        x:int * 
        y:int * 
        width:int * 
        height:int * 
        specified:BoundsSpecified -> unit
protected override function SetBoundsCore(
    x : int, 
    y : int, 
    width : int, 
    height : int, 
    specified : BoundsSpecified
)

參數

  • x
    類型:Int32

    控制項的新 Left 屬性值。

  • y
    類型:Int32

    控制項的新 Top 屬性值。

  • width
    類型:Int32

    控制項的新 Width 屬性值。

  • height
    類型:Int32

    控制項的新 Height 屬性值。

  • specified
    類型:BoundsSpecified

    BoundsSpecified 值的位元 (Bitwise) 組合。

.NET Framework 安全性

請參閱

參考

DataRepeaterItem 類別

Microsoft.VisualBasic.PowerPacks 命名空間

其他資源

DataRepeater 控制項簡介 (Visual Studio)