Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / FocusWithinProperty.cs / 1 / FocusWithinProperty.cs
using System; using System.Windows.Input; using MS.Internal.KnownBoxes; namespace System.Windows { ///////////////////////////////////////////////////////////////////////// internal class FocusWithinProperty : ReverseInheritProperty { ///////////////////////////////////////////////////////////////////// internal FocusWithinProperty() : base( UIElement.IsKeyboardFocusWithinPropertyKey, CoreFlags.IsKeyboardFocusWithinCache, CoreFlags.IsKeyboardFocusWithinChanged) { } ///////////////////////////////////////////////////////////////////// internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) { DependencyPropertyChangedEventArgs args = new DependencyPropertyChangedEventArgs( UIElement.IsKeyboardFocusWithinProperty, BooleanBoxes.Box(oldValue), BooleanBoxes.Box(!oldValue)); if (uie != null) { uie.RaiseIsKeyboardFocusWithinChanged(args); } else if (ce != null) { ce.RaiseIsKeyboardFocusWithinChanged(args); } else if (uie3D != null) { uie3D.RaiseIsKeyboardFocusWithinChanged(args); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Windows.Input; using MS.Internal.KnownBoxes; namespace System.Windows { ///////////////////////////////////////////////////////////////////////// internal class FocusWithinProperty : ReverseInheritProperty { ///////////////////////////////////////////////////////////////////// internal FocusWithinProperty() : base( UIElement.IsKeyboardFocusWithinPropertyKey, CoreFlags.IsKeyboardFocusWithinCache, CoreFlags.IsKeyboardFocusWithinChanged) { } ///////////////////////////////////////////////////////////////////// internal override void FireNotifications(UIElement uie, ContentElement ce, UIElement3D uie3D, bool oldValue) { DependencyPropertyChangedEventArgs args = new DependencyPropertyChangedEventArgs( UIElement.IsKeyboardFocusWithinProperty, BooleanBoxes.Box(oldValue), BooleanBoxes.Box(!oldValue)); if (uie != null) { uie.RaiseIsKeyboardFocusWithinChanged(args); } else if (ce != null) { ce.RaiseIsKeyboardFocusWithinChanged(args); } else if (uie3D != null) { uie3D.RaiseIsKeyboardFocusWithinChanged(args); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DateTimeFormatInfoScanner.cs
- WindowsTab.cs
- AppDomainAttributes.cs
- DecoratedNameAttribute.cs
- OracleInfoMessageEventArgs.cs
- Membership.cs
- ExtensionFile.cs
- ScrollPattern.cs
- xdrvalidator.cs
- Delay.cs
- OdbcConnectionHandle.cs
- WindowsToolbarItemAsMenuItem.cs
- CodeTypeReference.cs
- SafeHandle.cs
- Section.cs
- SchemaCollectionPreprocessor.cs
- SqlTopReducer.cs
- activationcontext.cs
- HttpRawResponse.cs
- Freezable.cs
- TreeNodeMouseHoverEvent.cs
- DataGridClipboardHelper.cs
- VoiceInfo.cs
- SafeHandles.cs
- OAVariantLib.cs
- StylusSystemGestureEventArgs.cs
- CaseInsensitiveComparer.cs
- Sorting.cs
- ButtonFieldBase.cs
- Marshal.cs
- FileUtil.cs
- Padding.cs
- jithelpers.cs
- COM2ExtendedTypeConverter.cs
- OdbcHandle.cs
- HtmlInputCheckBox.cs
- InternalSafeNativeMethods.cs
- DropShadowEffect.cs
- UrlMappingsModule.cs
- XmlSerializationGeneratedCode.cs
- XmlDataLoader.cs
- TemplateBuilder.cs
- GeometryGroup.cs
- CellParagraph.cs
- BaseAsyncResult.cs
- ProfileSection.cs
- AndCondition.cs
- SiteMapDataSourceView.cs
- HttpApplicationFactory.cs
- Exceptions.cs
- SessionStateItemCollection.cs
- JsonUriDataContract.cs
- DataTemplate.cs
- XmlEncodedRawTextWriter.cs
- SoapMessage.cs
- DataGridSortCommandEventArgs.cs
- DataGridViewBindingCompleteEventArgs.cs
- SystemParameters.cs
- httpserverutility.cs
- ObfuscationAttribute.cs
- EventListener.cs
- Schema.cs
- ActivityMarkupSerializer.cs
- FormatterServices.cs
- InboundActivityHelper.cs
- SqlNotificationEventArgs.cs
- TimeoutHelper.cs
- ValidatorCompatibilityHelper.cs
- IconBitmapDecoder.cs
- BitmapEffectvisualstate.cs
- SQLBinaryStorage.cs
- TextServicesLoader.cs
- InitializerFacet.cs
- LabelEditEvent.cs
- SchemaComplexType.cs
- SqlAggregateChecker.cs
- InvalidChannelBindingException.cs
- ComMethodElementCollection.cs
- Internal.cs
- __ComObject.cs
- XamlFxTrace.cs
- ContainerControl.cs
- CodeDefaultValueExpression.cs
- MaskedTextProvider.cs
- MailFileEditor.cs
- WebResourceAttribute.cs
- FileInfo.cs
- SendKeys.cs
- ReaderWriterLockWrapper.cs
- ImageMapEventArgs.cs
- EditorAttribute.cs
- CatalogPartChrome.cs
- AttributeProviderAttribute.cs
- WebEventCodes.cs
- CommandSet.cs
- OdbcConnectionHandle.cs
- RequestQueryParser.cs
- CompatibleComparer.cs
- XmlReaderSettings.cs
- KeyFrames.cs