WebPartAuthorizationEventArgs.IsShared Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈