WebPart.IsStandalone 属性

定义

获取一个值,该值指示 WebPart 控件是否是独立控件(即该控件不包含在 WebPartZoneBase 区域中)。Gets a value that indicates whether a WebPart control is standalone, meaning that it is not contained within a WebPartZoneBase zone.

public:
 property bool IsStandalone { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsStandalone { get; }
member this.IsStandalone : bool
Public ReadOnly Property IsStandalone As Boolean

属性值

如果 WebPart 控件未包含在 WebPartZoneBase 区域中,则为 true;否则为 falsetrue if the WebPart control is not contained in a WebPartZoneBase zone; otherwise, false.

属性

适用于

另请参阅