ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute Class

Definition

Used to indicate that a custom XML designer should not allow SxS editing with the standard text-based XML editor.

public ref class ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute
Inherits RegistrationAttribute
Inheritance
ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute
Attributes

Constructors

ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute(String, Object)

Constructor for ProvideXmlEditorChooserBlockSxSWithXmlEditorAttribute.

Properties

EditorFactory

The unique id of the editor factory for which side-by-side editing in the XML Editor should be blocked

Name

The registry key name of the designer for which side-by-side editing in the XML Editor should be blocked

TypeId

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

Register the editor factory as not supporting side-by-side editing alongside the Xml Editor

Unregister(RegistrationAttribute+RegistrationContext)

Unregister the editor factory as not supporting side-by-side editing alongside the Xml Editor

Applies to