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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlMethodCallConverter.cs
- BrowserDefinitionCollection.cs
- BitmapImage.cs
- DragEvent.cs
- AsyncPostBackTrigger.cs
- ControlValuePropertyAttribute.cs
- HuffCodec.cs
- GB18030Encoding.cs
- Util.cs
- WinInetCache.cs
- UnicastIPAddressInformationCollection.cs
- SoapCodeExporter.cs
- RegexNode.cs
- EditBehavior.cs
- SiteMapNode.cs
- JsonStringDataContract.cs
- PackageRelationshipSelector.cs
- DbConnectionPoolIdentity.cs
- HttpProfileGroupBase.cs
- ThemeableAttribute.cs
- TextureBrush.cs
- MachineKeyConverter.cs
- GuidTagList.cs
- ToolBarPanel.cs
- XAMLParseException.cs
- PriorityBindingExpression.cs
- AuthenticationModulesSection.cs
- NTAccount.cs
- ExternalFile.cs
- ValueType.cs
- FormattedTextSymbols.cs
- Light.cs
- ScrollBar.cs
- SpellCheck.cs
- CustomErrorsSection.cs
- ToolStripOverflowButton.cs
- TextEndOfLine.cs
- Journal.cs
- XD.cs
- GenerateTemporaryTargetAssembly.cs
- SoapEnumAttribute.cs
- CqlLexer.cs
- Visitors.cs
- ParallelTimeline.cs
- DbConnectionOptions.cs
- DataSourceListEditor.cs
- ToolStripItemRenderEventArgs.cs
- TextElementAutomationPeer.cs
- FontSizeConverter.cs
- SqlXmlStorage.cs
- PageAction.cs
- OracleParameterBinding.cs
- UshortList2.cs
- DataGridViewControlCollection.cs
- BindingExpressionBase.cs
- Storyboard.cs
- PathData.cs
- DataExchangeServiceBinder.cs
- CatalogZoneDesigner.cs
- CategoryList.cs
- GridViewRowPresenter.cs
- SafeNativeMethods.cs
- ResourcePermissionBaseEntry.cs
- MDIControlStrip.cs
- RegisteredScript.cs
- EqualityComparer.cs
- ConnectionPoolManager.cs
- HttpModule.cs
- InternalBase.cs
- SetterBase.cs
- MimeTypeMapper.cs
- ReferenceList.cs
- TraceListeners.cs
- WorkItem.cs
- MonitoringDescriptionAttribute.cs
- RTLAwareMessageBox.cs
- XmlChoiceIdentifierAttribute.cs
- NullableFloatAverageAggregationOperator.cs
- DrawingGroup.cs
- XmlChoiceIdentifierAttribute.cs
- ParentUndoUnit.cs
- EventLogTraceListener.cs
- DynamicControl.cs
- IFormattable.cs
- unitconverter.cs
- MetadataItem_Static.cs
- BaseServiceProvider.cs
- SectionVisual.cs
- ControlTemplate.cs
- Size3DValueSerializer.cs
- BrowserCapabilitiesFactory.cs
- RolePrincipal.cs
- updateconfighost.cs
- FolderNameEditor.cs
- AutoScrollHelper.cs
- Transaction.cs
- ReliableReplySessionChannel.cs
- TemplateParser.cs
- TypeUtil.cs
- Invariant.cs