Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / FocusWithinProperty.cs / 1305600 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SelectorAutomationPeer.cs
- XmlSchemaObject.cs
- WebPartMenu.cs
- PageParserFilter.cs
- SequentialUshortCollection.cs
- PolicyStatement.cs
- SectionRecord.cs
- StructuredProperty.cs
- ClaimSet.cs
- EntityDataSourceState.cs
- HasCopySemanticsAttribute.cs
- SAPICategories.cs
- RootNamespaceAttribute.cs
- EventLogRecord.cs
- DateTimePicker.cs
- FolderBrowserDialogDesigner.cs
- AccessControlList.cs
- PropertyRecord.cs
- DataGridTemplateColumn.cs
- Int64Animation.cs
- ListenerServiceInstallComponent.cs
- SectionVisual.cs
- ItemsControlAutomationPeer.cs
- MessageQueueTransaction.cs
- StandardToolWindows.cs
- PartBasedPackageProperties.cs
- ProfilePropertyNameValidator.cs
- VerifyHashRequest.cs
- Privilege.cs
- RefreshResponseInfo.cs
- DSACryptoServiceProvider.cs
- AttributeUsageAttribute.cs
- Function.cs
- WindowsFormsLinkLabel.cs
- WindowsFont.cs
- CryptoKeySecurity.cs
- JoinGraph.cs
- FlowDocumentReaderAutomationPeer.cs
- WorkflowPrinting.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ValueQuery.cs
- BindingExpressionUncommonField.cs
- BufferedReadStream.cs
- _TimerThread.cs
- autovalidator.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- KnownBoxes.cs
- X509AudioLogo.cs
- ReadOnlyCollectionBase.cs
- PathParser.cs
- ParameterToken.cs
- DrawingContextDrawingContextWalker.cs
- ControlIdConverter.cs
- DBCSCodePageEncoding.cs
- DataGridTablesFactory.cs
- AliasGenerator.cs
- ClientSettingsProvider.cs
- ComponentCollection.cs
- ToolboxDataAttribute.cs
- Frame.cs
- MailFileEditor.cs
- Bitmap.cs
- PresentationUIStyleResources.cs
- MessageHeader.cs
- CodeMemberProperty.cs
- BindingExpressionUncommonField.cs
- FrameworkObject.cs
- ColorConverter.cs
- Soap.cs
- RepeatBehaviorConverter.cs
- DataSvcMapFileSerializer.cs
- bindurihelper.cs
- OfTypeExpression.cs
- StyleTypedPropertyAttribute.cs
- COSERVERINFO.cs
- xmlglyphRunInfo.cs
- RoleBoolean.cs
- CodeAttributeDeclarationCollection.cs
- CacheDependency.cs
- ReferencedAssembly.cs
- ICspAsymmetricAlgorithm.cs
- SoapAttributes.cs
- SubclassTypeValidatorAttribute.cs
- StateChangeEvent.cs
- OdbcFactory.cs
- EtwProvider.cs
- MiniCustomAttributeInfo.cs
- XsdDuration.cs
- DetailsViewRow.cs
- DataView.cs
- VirtualizingStackPanel.cs
- SecurityContext.cs
- followingquery.cs
- DocumentSchemaValidator.cs
- DrawingCollection.cs
- CompoundFileStreamReference.cs
- UncommonField.cs
- TdsParameterSetter.cs
- CollectionConverter.cs
- EventPropertyMap.cs