C# Класс System.Windows.Interop.ActiveXHost

Наследование: System.Windows.Interop.HwndHost
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
ActiveXHost System
ActiveXHost System
AttachInterfaces void
AttachInterfacesInternal void
AttachWindow void
BuildWindowCore HandleRef
CreateActiveXObject object
CreateActiveXSite ActiveXSite
CreateSink void
DetachInterfaces void
DetachInterfacesInternal void
DetachSink void
DoVerb bool
GetAxHostState bool
GetExtent NativeMethods.SIZE
OnAccessKeyPressed void
OnActiveXStateChange void
OnGotFocus void
OnInitialized void
OnIsEnabledInvalidated void
OnLostFocus void
OnVisibilityInvalidated void
OnWindowPositionChanged void
RegisterAccessKey void
SetAxHostState void
SetExtent NativeMethods.SIZE
StartEvents void
StopEvents void
TransitionDownTo void
TransitionFromInPlaceActiveToRunning void
TransitionFromInPlaceActiveToUIActive void
TransitionFromLoadedToPassive void
TransitionFromLoadedToRunning void
TransitionFromPassiveToLoaded void
TransitionFromRunningToInPlaceActive void
TransitionFromRunningToLoaded void
TransitionFromUIActiveToInPlaceActive void
TransitionUpTo void

Защищенные методы

Метод Описание
DestroyWindowCore ( HandleRef hwnd ) : void

Derived classes override this method to destroy the window being hosted.

Dispose ( bool disposing ) : void
MeasureOverride ( Size swConstraint ) : Size
OnAccessKey ( AccessKeyEventArgs args ) : void
OnPropertyChanged ( DependencyPropertyChangedEventArgs e ) : void

Приватные методы

Метод Описание
ActiveXHost ( ) : System
ActiveXHost ( Guid clsid, bool fTrusted ) : System
AttachInterfaces ( object nativeActiveXObject ) : void
AttachInterfacesInternal ( ) : void
AttachWindow ( IntPtr hwnd ) : void
BuildWindowCore ( HandleRef hwndParent ) : HandleRef
CreateActiveXObject ( Guid clsid ) : object
CreateActiveXSite ( ) : ActiveXSite
CreateSink ( ) : void
DetachInterfaces ( ) : void
DetachInterfacesInternal ( ) : void
DetachSink ( ) : void
DoVerb ( int verb ) : bool
GetAxHostState ( int mask ) : bool
GetExtent ( ) : NativeMethods.SIZE
OnAccessKeyPressed ( object sender, AccessKeyPressedEventArgs args ) : void
OnActiveXStateChange ( int oldState, int newState ) : void

Called whenever the ActiveX state changes. Subclasses can do additional hookup/cleanup depending on the state transitions

OnGotFocus ( object sender, KeyboardFocusChangedEventArgs e ) : void
OnInitialized ( object sender, EventArgs e ) : void
OnIsEnabledInvalidated ( ActiveXHost axHost ) : void
OnLostFocus ( object sender, KeyboardFocusChangedEventArgs e ) : void
OnVisibilityInvalidated ( ActiveXHost axHost ) : void
OnWindowPositionChanged ( Rect bounds ) : void
RegisterAccessKey ( char key ) : void
SetAxHostState ( int mask, bool value ) : void
SetExtent ( int width, int height ) : NativeMethods.SIZE
StartEvents ( ) : void
StopEvents ( ) : void
TransitionDownTo ( ActiveXHelper.ActiveXState state ) : void
TransitionFromInPlaceActiveToRunning ( ) : void
TransitionFromInPlaceActiveToUIActive ( ) : void
TransitionFromLoadedToPassive ( ) : void
TransitionFromLoadedToRunning ( ) : void
TransitionFromPassiveToLoaded ( ) : void
TransitionFromRunningToInPlaceActive ( ) : void
TransitionFromRunningToLoaded ( ) : void
TransitionFromUIActiveToInPlaceActive ( ) : void
TransitionUpTo ( ActiveXHelper.ActiveXState state ) : void

Описание методов

DestroyWindowCore() защищенный Метод

Derived classes override this method to destroy the window being hosted.
protected DestroyWindowCore ( HandleRef hwnd ) : void
hwnd HandleRef
Результат void

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

MeasureOverride() защищенный Метод

protected MeasureOverride ( Size swConstraint ) : Size
swConstraint Size
Результат Size

OnAccessKey() защищенный Метод

protected OnAccessKey ( AccessKeyEventArgs args ) : void
args AccessKeyEventArgs
Результат void

OnPropertyChanged() защищенный Метод

protected OnPropertyChanged ( DependencyPropertyChangedEventArgs e ) : void
e DependencyPropertyChangedEventArgs
Результат void