Code:
/ DotNET / DotNET / 8.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
- DayRenderEvent.cs
- TextTreeUndo.cs
- DetailsViewRowCollection.cs
- SizeKeyFrameCollection.cs
- Membership.cs
- Simplifier.cs
- EventLogger.cs
- SystemFonts.cs
- SharedUtils.cs
- SharedStream.cs
- LineMetrics.cs
- Binding.cs
- TemplateControlParser.cs
- objectquery_tresulttype.cs
- BitmapEffectInput.cs
- HostingEnvironmentSection.cs
- ValidatingReaderNodeData.cs
- ExpressionNode.cs
- ServiceBehaviorAttribute.cs
- ListView.cs
- TemplateControl.cs
- FormDocumentDesigner.cs
- PassportIdentity.cs
- TreeViewEvent.cs
- SqlCachedBuffer.cs
- DialogBaseForm.cs
- IDispatchConstantAttribute.cs
- NativeObjectSecurity.cs
- ConfigurationSectionGroup.cs
- WindowsSlider.cs
- SmiConnection.cs
- DnsPermission.cs
- JsonWriterDelegator.cs
- StylusPointPropertyInfo.cs
- UnsafeNativeMethodsCLR.cs
- HostingPreferredMapPath.cs
- Button.cs
- WebPartDisplayModeEventArgs.cs
- PrefixHandle.cs
- XsltLoader.cs
- ThreadStateException.cs
- NumericUpDownAcceleration.cs
- SmtpNegotiateAuthenticationModule.cs
- RtfControls.cs
- OleDbErrorCollection.cs
- AuthenticodeSignatureInformation.cs
- TabControlToolboxItem.cs
- _NegoState.cs
- IndependentlyAnimatedPropertyMetadata.cs
- DeviceSpecificDialogCachedState.cs
- SafeTimerHandle.cs
- ErrorStyle.cs
- PkcsUtils.cs
- AddInServer.cs
- ListSourceHelper.cs
- Misc.cs
- DataKeyArray.cs
- BuildProvider.cs
- CancellationState.cs
- Image.cs
- CookieProtection.cs
- ApplyTemplatesAction.cs
- SqlProfileProvider.cs
- OdbcConnection.cs
- SystemIPv6InterfaceProperties.cs
- PropertyNames.cs
- COM2AboutBoxPropertyDescriptor.cs
- ComplexLine.cs
- SafeLibraryHandle.cs
- DbFunctionCommandTree.cs
- CoreSwitches.cs
- HtmlControlPersistable.cs
- RectangleConverter.cs
- PagePropertiesChangingEventArgs.cs
- Application.cs
- WindowsUpDown.cs
- XhtmlTextWriter.cs
- SafeEventLogWriteHandle.cs
- SqlServer2KCompatibilityCheck.cs
- ThrowOnMultipleAssignment.cs
- TracedNativeMethods.cs
- EdmItemCollection.cs
- PrintPreviewGraphics.cs
- TextElementEnumerator.cs
- HWStack.cs
- ProbeDuplex11AsyncResult.cs
- SpecialNameAttribute.cs
- WindowsFormsSynchronizationContext.cs
- XmlDocumentSerializer.cs
- ArcSegment.cs
- RootBuilder.cs
- DataGridViewColumnEventArgs.cs
- KoreanCalendar.cs
- Int32RectValueSerializer.cs
- TargetParameterCountException.cs
- OracleMonthSpan.cs
- InternalControlCollection.cs
- wgx_render.cs
- Polygon.cs
- OracleMonthSpan.cs