Aracılığıyla paylaş


EnvironmentRenderCapabilities Class

Definition

Encapsulates visual effects options for the environment. These options determine which types of visual effects should be used based on the current rendering capabilities. This is based on a combination of user settings and WPF's RenderCapabilities.Tier

public ref class EnvironmentRenderCapabilities sealed : Microsoft::VisualStudio::PlatformUI::DisposableObject, Microsoft::VisualStudio::Shell::Interop::IVsShellPropertyEvents, System::ComponentModel::INotifyPropertyChanged
public sealed class EnvironmentRenderCapabilities : Microsoft.VisualStudio.PlatformUI.DisposableObject, Microsoft.VisualStudio.Shell.Interop.IVsShellPropertyEvents, System.ComponentModel.INotifyPropertyChanged
type EnvironmentRenderCapabilities = class
    inherit DisposableObject
    interface INotifyPropertyChanged
    interface IVsShellPropertyEvents
Public NotInheritable Class EnvironmentRenderCapabilities
Inherits DisposableObject
Implements INotifyPropertyChanged, IVsShellPropertyEvents
Inheritance
EnvironmentRenderCapabilities
Implements

Properties

AreAnimationsAllowed

Determines if animations are currently allowed in the environment.

AreGradientsAllowed

Determines if gradients are currently allowed in the environment.

Current

Gets the current singleton instance of EnvironmentRenderCapabilities.

IsDisposed

Returns whether the object has been disposed once, protects against double disposal

(Inherited from DisposableObject)
VisualEffectsAllowed

Determines the set of rendering effects allowed. Currently, this value is either zero (indicating that no visual effects are allowed) or nonzero (indicating that all visual effects are allowed). The meaning of specific flags may change.

Methods

Dispose()

Disposes the current object then suppresses further finalization.

(Inherited from DisposableObject)
Dispose(Boolean)

Standard virtual overload for IDisposable pattern

(Inherited from DisposableObject)
DisposeManagedResources()

Allows derived classes to provide custom dispose handling for managed resources

(Inherited from DisposableObject)
DisposeNativeResources()

Allows derived classes to provide custom dispose handling for native resources

(Inherited from DisposableObject)
OnShellPropertyChange(Int32, Object)

Microsoft internal use only.

ThrowIfDisposed()

Throws an ObjectDisposedException if this object has been disposed

(Inherited from DisposableObject)

Events

Disposing

Raised when the event is being disposed, while it is still accessible.

(Inherited from DisposableObject)
PropertyChanged

Microsoft internal use only.

RenderCapabilitiesChanged

Microsoft internal use only.

Applies to