C# Class System.Windows.Interop.ActiveXHost

Inheritance: System.Windows.Interop.HwndHost
Afficher le fichier Open project: mind0n/hive Class Usage Examples

Private Properties

Свойство Type Description
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

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

DestroyWindowCore() protected méthode

Derived classes override this method to destroy the window being hosted.
protected DestroyWindowCore ( HandleRef hwnd ) : void
hwnd HandleRef
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

MeasureOverride() protected méthode

protected MeasureOverride ( Size swConstraint ) : Size
swConstraint Size
Résultat Size

OnAccessKey() protected méthode

protected OnAccessKey ( AccessKeyEventArgs args ) : void
args AccessKeyEventArgs
Résultat void

OnPropertyChanged() protected méthode

protected OnPropertyChanged ( DependencyPropertyChangedEventArgs e ) : void
e DependencyPropertyChangedEventArgs
Résultat void