Share via


IVsPerPropertyBrowsing Interface

Definition

IVsPerPropertyBrowsing is used to perform custom edits for localization on some properties displayed in the Properties window.

public interface class IVsPerPropertyBrowsing
public interface class IVsPerPropertyBrowsing
__interface IVsPerPropertyBrowsing
[System.Runtime.InteropServices.Guid("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsPerPropertyBrowsing
[System.Runtime.InteropServices.Guid("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsPerPropertyBrowsing
[<System.Runtime.InteropServices.Guid("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsPerPropertyBrowsing = interface
[<System.Runtime.InteropServices.Guid("0FF510A3-5FA5-49F1-8CCC-190D71083F3E")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsPerPropertyBrowsing = interface
Public Interface IVsPerPropertyBrowsing
Attributes

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.

Methods

CanResetPropertyValue(Int32, Int32)

Checks whether the given property can be reset to the default value.

DisplayChildProperties(Int32, Int32)

Allows properties of type VT_DISPATCH to be viewed recursively.

GetClassName(String)

Returns the classname for this object.

GetLocalizedPropertyInfo(Int32, UInt32, String, String)

Retrieves the localized name and description for a property.

HasDefaultValue(Int32, Int32)

Determines if the current value for a property is the default.

HideProperty(Int32, Int32)

Hides the property at the given dispid from the Properties window.

IsPropertyReadOnly(Int32, Int32)

Determines if a property should be made read only.

ResetPropertyValue(Int32)

Resets the value of the given property.

Applies to