Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / System / Windows / Media / DisableDpiAwarenessAttribute.cs / 1 / DisableDpiAwarenessAttribute.cs
//------------------------------------------------------------------------ // // Microsoft Windows Client Platform // Copyright (C) Microsoft Corporation, 2006 // // File: DisableDpiAwarenessAttribute.cs // // By default, WPF application is Dpi-Aware when the UI layout is calculated. // But if in any case, an application wants to host WPF control and doesn't // want to support Dpi aware, the way to achieve it is to add below attribute // value in its application assembly. // // [assembly:System.Windows.Media.DisableDpiAwareness] // // Created: 06/01/2006 [....] // //----------------------------------------------------------------------- using System; namespace System.Windows.Media { ////// DisableDpiAwarenessAttribute tells to disable DpiAwareness in this /// application for WPF UI elements. /// [AttributeUsage(AttributeTargets.Assembly, AllowMultiple=false)] public sealed class DisableDpiAwarenessAttribute: Attribute { ////// Ctor of DisableDpiAwareness /// public DisableDpiAwarenessAttribute( ) { } } } // 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
- ObjectViewEntityCollectionData.cs
- AuthenticationModuleElement.cs
- Oci.cs
- oledbmetadatacolumnnames.cs
- WebSysDisplayNameAttribute.cs
- Latin1Encoding.cs
- KeySpline.cs
- CheckBoxDesigner.cs
- BinHexEncoder.cs
- ResXResourceWriter.cs
- DefaultExpression.cs
- PropertyTab.cs
- ECDsaCng.cs
- AssemblyBuilder.cs
- SafeWaitHandle.cs
- XmlSerializationGeneratedCode.cs
- PropertyEntry.cs
- SelectionEditor.cs
- XmlSchemaValidator.cs
- SerialStream.cs
- DropAnimation.xaml.cs
- AttachedAnnotation.cs
- ListBoxChrome.cs
- XPathNavigatorKeyComparer.cs
- AddIn.cs
- PolicyStatement.cs
- UshortList2.cs
- PeerNearMe.cs
- DuplicateWaitObjectException.cs
- MSAAEventDispatcher.cs
- ConnectionConsumerAttribute.cs
- CheckedListBox.cs
- CodeDOMProvider.cs
- SchemaName.cs
- ConfigurationLocationCollection.cs
- DataGridHeaderBorder.cs
- FormViewDeleteEventArgs.cs
- ArrayTypeMismatchException.cs
- OLEDB_Enum.cs
- TiffBitmapDecoder.cs
- HwndTarget.cs
- WindowsListBox.cs
- GradientStop.cs
- DataBindingCollectionEditor.cs
- CodeNamespaceImportCollection.cs
- IList.cs
- LogicalTreeHelper.cs
- SecurityTokenProviderContainer.cs
- CodeTypeReferenceCollection.cs
- FileDetails.cs
- ConnectionManagementElementCollection.cs
- RequestCacheManager.cs
- TextOptionsInternal.cs
- UserControl.cs
- TerminatingOperationBehavior.cs
- DataGridViewTextBoxEditingControl.cs
- InfoCardBaseException.cs
- XmlElementAttribute.cs
- BulletChrome.cs
- RuleInfoComparer.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- SQLInt16.cs
- HMACSHA1.cs
- StringBlob.cs
- AstNode.cs
- GeometryModel3D.cs
- SafeFileMappingHandle.cs
- HuffmanTree.cs
- DropShadowBitmapEffect.cs
- BufferBuilder.cs
- SkipStoryboardToFill.cs
- DependencyPropertyKey.cs
- SqlConnectionPoolGroupProviderInfo.cs
- DoubleAnimation.cs
- MemoryPressure.cs
- ColorContext.cs
- XmlUnspecifiedAttribute.cs
- NumericUpDownAccelerationCollection.cs
- DataRowCollection.cs
- InProcStateClientManager.cs
- GrammarBuilderWildcard.cs
- GenericWebPart.cs
- IsolatedStorageException.cs
- PeerCollaborationPermission.cs
- DrawListViewSubItemEventArgs.cs
- ThicknessAnimationBase.cs
- SystemParameters.cs
- ObjectNotFoundException.cs
- InvalidOperationException.cs
- ExtractedStateEntry.cs
- WebPartConnectionsCancelEventArgs.cs
- LocationChangedEventArgs.cs
- GridViewAutomationPeer.cs
- XPathSelectionIterator.cs
- WindowsToolbarAsMenu.cs
- SpellCheck.cs
- StateItem.cs
- CodeGenHelper.cs
- EntityModelSchemaGenerator.cs
- UpdatableGenericsFeature.cs