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
- StylusPointPropertyId.cs
- ToolStripItemRenderEventArgs.cs
- EpmTargetTree.cs
- ObjectDataSourceSelectingEventArgs.cs
- ClientTargetCollection.cs
- DurableInstanceProvider.cs
- Exceptions.cs
- SiteIdentityPermission.cs
- ServicePrincipalNameElement.cs
- SqlPersonalizationProvider.cs
- InstalledVoice.cs
- WebEventTraceProvider.cs
- SQLDecimalStorage.cs
- BinaryUtilClasses.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- FormatterServices.cs
- MailFileEditor.cs
- PropertyPanel.cs
- KnownIds.cs
- PropertyMapper.cs
- ScrollEvent.cs
- Material.cs
- ActivityFunc.cs
- ListViewGroupItemCollection.cs
- TextEncodedRawTextWriter.cs
- CroppedBitmap.cs
- ExceptQueryOperator.cs
- SubMenuStyleCollectionEditor.cs
- ScriptComponentDescriptor.cs
- WindowsRichEditRange.cs
- DrawToolTipEventArgs.cs
- UnsafeNativeMethods.cs
- NavigatorInput.cs
- SqlRowUpdatedEvent.cs
- TreeViewCancelEvent.cs
- LabelAutomationPeer.cs
- Slider.cs
- DataGridColumnHeaderCollection.cs
- Aggregates.cs
- Environment.cs
- prompt.cs
- ContainsRowNumberChecker.cs
- Scheduler.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- LinkedResourceCollection.cs
- DataSourceComponent.cs
- SemanticAnalyzer.cs
- CriticalExceptions.cs
- WebPartDisplayModeCancelEventArgs.cs
- ConstructorExpr.cs
- ClusterRegistryConfigurationProvider.cs
- AspNetHostingPermission.cs
- UnaryNode.cs
- DictationGrammar.cs
- SplineKeyFrames.cs
- ConstructorNeedsTagAttribute.cs
- PropertyFilterAttribute.cs
- RSAPKCS1SignatureFormatter.cs
- Timer.cs
- HttpListener.cs
- DataGridViewCellPaintingEventArgs.cs
- SqlTypeConverter.cs
- EntityContainerEntitySetDefiningQuery.cs
- SqlParameter.cs
- ChineseLunisolarCalendar.cs
- UIElement3DAutomationPeer.cs
- DynamicPropertyReader.cs
- ImageList.cs
- XmlWriterSettings.cs
- BaseDataBoundControlDesigner.cs
- PermissionSetTriple.cs
- ServiceBuildProvider.cs
- PreviewPrintController.cs
- TemplateField.cs
- OutputCacheModule.cs
- DecimalConstantAttribute.cs
- DataGridViewRowPrePaintEventArgs.cs
- GetPageNumberCompletedEventArgs.cs
- CultureTable.cs
- CacheAxisQuery.cs
- sqlpipe.cs
- CustomWebEventKey.cs
- SslStream.cs
- Converter.cs
- ConfigXmlElement.cs
- PackageDigitalSignatureManager.cs
- StorageConditionPropertyMapping.cs
- FormatterServices.cs
- AsymmetricSignatureFormatter.cs
- TagMapCollection.cs
- PointLight.cs
- GPPOINTF.cs
- DelegateTypeInfo.cs
- XmlSchemaAnyAttribute.cs
- SystemSounds.cs
- MarkupCompilePass1.cs
- AppDomainInfo.cs
- DelayedRegex.cs
- VectorCollectionConverter.cs
- AutoCompleteStringCollection.cs