IVsPerPropertyBrowsing Interface
IVsPerPropertyBrowsing is used to perform custom edits for localization on some properties displayed in the Properties window.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
<GuidAttribute("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPerPropertyBrowsing
[GuidAttribute("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")]
[InterfaceTypeAttribute()]
public interface IVsPerPropertyBrowsing
[GuidAttribute(L"0FF510A3-5FA5-49F1-8CCC-190D71083F3E")]
[InterfaceTypeAttribute()]
public interface class IVsPerPropertyBrowsing
[<GuidAttribute("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")>]
[<InterfaceTypeAttribute()>]
type IVsPerPropertyBrowsing = interface end
public interface IVsPerPropertyBrowsing
The IVsPerPropertyBrowsing type exposes the following members.
Methods
Name | Description | |
---|---|---|
CanResetPropertyValue | Checks whether the given property can be reset to the default value. | |
DisplayChildProperties | Allows properties of type VT_DISPATCH to be viewed recursively. | |
GetClassName | Returns the classname for this object. | |
GetLocalizedPropertyInfo | Retrieves the localized name and description for a property. | |
HasDefaultValue | Determines if the current value for a property is the default. | |
HideProperty | Hides the property at the given dispid from the Properties window. | |
IsPropertyReadOnly | Determines if a property should be made read only. | |
ResetPropertyValue | Resets the value of the given property. |
Top
Remarks
IVsPerPropertyBrowsing allows you to localize and hide the names of properties displayed during design time, determine the default value of specific properties in the selected object and whether or not the current value is the default. You can also use this interface to set properties to read-only, and to determine if the property can be changed back to the default if it has been modified.
Manipulating properties using this interface during design time will not affect what the user sees during runtime. See How to: Hide Properties with Child Properties for an example of IVsPerPropertyBrowsing implementation.
Notes to Implementers
Implemented by projects to control display of properties in the Properties Window.
Notes to Callers
Called by the environment when the Properties window is populated.