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
- ECDiffieHellmanCng.cs
- MediaEntryAttribute.cs
- MsmqIntegrationBindingElement.cs
- DetailsViewDeleteEventArgs.cs
- ClientTargetSection.cs
- AsymmetricKeyExchangeFormatter.cs
- EmptyEnumerator.cs
- NoResizeSelectionBorderGlyph.cs
- CustomAttribute.cs
- FormsAuthenticationTicket.cs
- MessageQueuePermission.cs
- VerificationAttribute.cs
- WebPartCatalogCloseVerb.cs
- listitem.cs
- TabPanel.cs
- WebRequestModuleElement.cs
- CustomCategoryAttribute.cs
- SafeHandles.cs
- CalendarAutoFormat.cs
- DataGridColumnCollection.cs
- ScriptingSectionGroup.cs
- BmpBitmapDecoder.cs
- PointConverter.cs
- ConsumerConnectionPoint.cs
- EventListener.cs
- GPStream.cs
- CompModSwitches.cs
- XmlSchemaInferenceException.cs
- SuppressIldasmAttribute.cs
- IISMapPath.cs
- IsolationInterop.cs
- InvokeGenerator.cs
- NativeMethods.cs
- DataBoundControlAdapter.cs
- LogFlushAsyncResult.cs
- ResourceSetExpression.cs
- RegisteredScript.cs
- ComponentResourceKeyConverter.cs
- XmlNodeList.cs
- Preprocessor.cs
- HtmlFormWrapper.cs
- _KerberosClient.cs
- CallTemplateAction.cs
- RecordBuilder.cs
- TextServicesLoader.cs
- SelectionRangeConverter.cs
- AuthorizationRule.cs
- KnownTypes.cs
- DecimalAnimationBase.cs
- NetStream.cs
- StandardCommands.cs
- FileSystemWatcher.cs
- RegionInfo.cs
- CharacterString.cs
- ThemeInfoAttribute.cs
- Effect.cs
- SystemGatewayIPAddressInformation.cs
- MessagePropertyDescriptionCollection.cs
- UTF8Encoding.cs
- EditorPartChrome.cs
- HtmlTable.cs
- IDispatchConstantAttribute.cs
- DrawingDrawingContext.cs
- EventMappingSettingsCollection.cs
- GenericAuthenticationEventArgs.cs
- GregorianCalendarHelper.cs
- SessionStateItemCollection.cs
- EncryptedData.cs
- ProfilePropertySettingsCollection.cs
- RenderOptions.cs
- Evaluator.cs
- XPathArrayIterator.cs
- OutKeywords.cs
- XmlCDATASection.cs
- Grid.cs
- QuotedPrintableStream.cs
- AbsoluteQuery.cs
- XmlQueryOutput.cs
- PropertyItem.cs
- WebOperationContext.cs
- OracleString.cs
- GraphicsContainer.cs
- SchemaDeclBase.cs
- SystemWebCachingSectionGroup.cs
- EditorServiceContext.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- HelpProvider.cs
- FontCacheLogic.cs
- ToolStripActionList.cs
- ServiceOperationWrapper.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- MachineSettingsSection.cs
- XPathSelfQuery.cs
- DebugHandleTracker.cs
- GAC.cs
- DoubleLink.cs
- IDispatchConstantAttribute.cs
- HitTestDrawingContextWalker.cs
- BoundColumn.cs
- LocatorPartList.cs