Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / WindowsFormsDesignerOptionService.cs / 1 / WindowsFormsDesignerOptionService.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms.Design { using System; using System.ComponentModel.Design; using System.Collections; using System.ComponentModel; using System.Diagnostics; using System.Globalization; ////// Makes the DesignerOptions queryable through the IDesignerOption service. /// public class WindowsFormsDesignerOptionService : DesignerOptionService { private DesignerOptions _options; public WindowsFormsDesignerOptionService() { } public virtual DesignerOptions CompatibilityOptions { get { if (_options == null) { _options = new DesignerOptions(); } return _options; } } ////// This method is called on demand the first time a user asks for child /// options or properties of an options collection. /// protected override void PopulateOptionCollection(DesignerOptionCollection options) { if (options.Parent == null) { DesignerOptions designerOptions = CompatibilityOptions; if (designerOptions != null) { CreateOptionCollection(options, "DesignerOptions", designerOptions); } } } } } // 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
- EntityDataSourceQueryBuilder.cs
- TableLayoutPanelCellPosition.cs
- ChtmlFormAdapter.cs
- SemanticAnalyzer.cs
- TrackingProfile.cs
- FormViewUpdateEventArgs.cs
- BamlWriter.cs
- Block.cs
- StreamWithDictionary.cs
- OdbcStatementHandle.cs
- AppLevelCompilationSectionCache.cs
- rsa.cs
- LockCookie.cs
- Renderer.cs
- WeakReference.cs
- X509ServiceCertificateAuthenticationElement.cs
- LongTypeConverter.cs
- ComponentCommands.cs
- GZipDecoder.cs
- WebBrowsableAttribute.cs
- MaskDescriptor.cs
- NativeMethods.cs
- ValidatedControlConverter.cs
- DataGridView.cs
- XmlDocumentSerializer.cs
- FormViewInsertedEventArgs.cs
- BidOverLoads.cs
- OracleConnectionString.cs
- PersonalizationEntry.cs
- Tokenizer.cs
- Delay.cs
- MailWebEventProvider.cs
- XamlPoint3DCollectionSerializer.cs
- FindRequestContext.cs
- PopupEventArgs.cs
- InputReport.cs
- Point3D.cs
- BamlResourceContent.cs
- D3DImage.cs
- MembershipSection.cs
- MsmqMessageProperty.cs
- ParagraphVisual.cs
- XPathNodeIterator.cs
- ApplicationId.cs
- OptimizerPatterns.cs
- ConnectionPoint.cs
- EncodingTable.cs
- BeginEvent.cs
- SizeChangedInfo.cs
- UnsafeNativeMethods.cs
- ReflectionHelper.cs
- XmlCodeExporter.cs
- TickBar.cs
- WebPartManagerInternals.cs
- SimpleHandlerFactory.cs
- InternalPolicyElement.cs
- UpdateManifestForBrowserApplication.cs
- StickyNote.cs
- XmlValidatingReaderImpl.cs
- TypeBuilderInstantiation.cs
- InlineUIContainer.cs
- Material.cs
- TreeNodeBindingCollection.cs
- ObjectViewListener.cs
- RSAPKCS1SignatureDeformatter.cs
- WebServiceErrorEvent.cs
- Thumb.cs
- DocumentPageHost.cs
- ConfigurationPropertyAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- UnsafeNativeMethods.cs
- InvalidOleVariantTypeException.cs
- XmlSiteMapProvider.cs
- SBCSCodePageEncoding.cs
- AssemblyBuilder.cs
- WebPartCollection.cs
- HtmlInputPassword.cs
- odbcmetadatafactory.cs
- ThreadAttributes.cs
- ProfilePropertySettingsCollection.cs
- StringWriter.cs
- ListViewCommandEventArgs.cs
- CodeDomDecompiler.cs
- LineMetrics.cs
- FontStyles.cs
- XmlNamedNodeMap.cs
- ObservableCollection.cs
- TaskbarItemInfo.cs
- MemberHolder.cs
- AutomationIdentifier.cs
- ResourceType.cs
- InvalidComObjectException.cs
- WebConfigurationManager.cs
- Int16.cs
- RelOps.cs
- AccessKeyManager.cs
- WebServiceResponseDesigner.cs
- TagPrefixInfo.cs
- ConditionCollection.cs
- KnowledgeBase.cs