Bewerken

Delen via


WebPartAuthorizationEventArgs.IsShared Property

Definition

Gets a value that indicates whether a Web Parts control is visible to all users of a Web Parts page.

public:
 property bool IsShared { bool get(); };
public bool IsShared { get; }
member this.IsShared : bool
Public ReadOnly Property IsShared As Boolean

Property Value

true if the Web Parts control is visible to all users of the page; otherwise, false.

Remarks

A shared Web Parts control is visible to all users of a Web page. The opposite of a shared control is a per-user control, which is user-specific and is visible only to the user who added that control to the page.

If a dynamic control is added while a user is viewing the page in shared personalization scope, the control will be shared. If the control is added while the user is in user personalization scope, the IsShared property value for that control will be false.

For more information about shared and per-user controls, see Web Parts Personalization Overview.

Applies to