Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / System / Windows / Media / DisableDpiAwarenessAttribute.cs / 1305600 / 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 WeibZ // //----------------------------------------------------------------------- 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MetadataProperty.cs
- PenContext.cs
- QueryOutputWriter.cs
- TextCompositionEventArgs.cs
- SymbolType.cs
- CacheDependency.cs
- RuntimeWrappedException.cs
- TypeDescriptionProviderAttribute.cs
- PagedDataSource.cs
- DataKey.cs
- DbDataReader.cs
- infer.cs
- RepeaterItem.cs
- DiscreteKeyFrames.cs
- ActivitySurrogate.cs
- CustomTrackingQuery.cs
- EventSinkHelperWriter.cs
- storepermission.cs
- RuntimeEnvironment.cs
- WebPartVerbCollection.cs
- HashMembershipCondition.cs
- CacheModeConverter.cs
- XmlImplementation.cs
- Point.cs
- MdImport.cs
- ListBindingHelper.cs
- Int16Animation.cs
- LeaseManager.cs
- BrowsableAttribute.cs
- InternalControlCollection.cs
- AppDomain.cs
- XmlObjectSerializerWriteContext.cs
- HitTestFilterBehavior.cs
- XmlSerializer.cs
- ResourceDictionaryCollection.cs
- ClaimSet.cs
- RtType.cs
- base64Transforms.cs
- SignatureHelper.cs
- DecimalKeyFrameCollection.cs
- ClockGroup.cs
- DoubleAnimation.cs
- HandleCollector.cs
- RectAnimationUsingKeyFrames.cs
- GPStream.cs
- lengthconverter.cs
- HttpWriter.cs
- DependencyPropertyHelper.cs
- ComponentEditorPage.cs
- NamespaceCollection.cs
- CqlParserHelpers.cs
- Solver.cs
- NetCodeGroup.cs
- WebCategoryAttribute.cs
- Translator.cs
- LiteralControl.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- EditorZoneDesigner.cs
- TypeGenericEnumerableViewSchema.cs
- CompiledQueryCacheKey.cs
- fixedPageContentExtractor.cs
- _ConnectOverlappedAsyncResult.cs
- UriTemplateVariablePathSegment.cs
- WrappedReader.cs
- StringValidatorAttribute.cs
- GeometryDrawing.cs
- HtmlAnchor.cs
- XmlNamespaceDeclarationsAttribute.cs
- EntryWrittenEventArgs.cs
- Compensate.cs
- Vertex.cs
- XmlDocumentSchema.cs
- baseaxisquery.cs
- ListViewItem.cs
- DocumentCollection.cs
- DataSourceDescriptorCollection.cs
- RoleService.cs
- FormViewDeletedEventArgs.cs
- RowType.cs
- ConsoleCancelEventArgs.cs
- RemotingServices.cs
- ResourceProperty.cs
- PanelContainerDesigner.cs
- SpeechDetectedEventArgs.cs
- ResourcePermissionBase.cs
- DefaultPrintController.cs
- DiscreteKeyFrames.cs
- XmlArrayItemAttributes.cs
- PagesSection.cs
- ServiceDeploymentInfo.cs
- ImageSource.cs
- EmptyControlCollection.cs
- KnownBoxes.cs
- Enum.cs
- DbSetClause.cs
- Substitution.cs
- FocusChangedEventArgs.cs
- ColumnBinding.cs
- CodeAssignStatement.cs
- ZipIOExtraFieldElement.cs