Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WinForms / System / WinForms / Design / RadioButtonDesigner.cs / 1 / RadioButtonDesigner.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Windows.Forms.Design { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Drawing; using System.Windows.Forms; using System.Diagnostics; ////// /// internal class RadioButtonDesigner: ButtonBaseDesigner { public override void InitializeNewComponent(IDictionary defaultValues) { base.InitializeNewComponent(defaultValues); // In Whidbey, default the TabStop to true. PropertyDescriptor prop = TypeDescriptor.GetProperties(Component)["TabStop"]; if (prop != null && prop.PropertyType == typeof(bool) && !prop.IsReadOnly && prop.IsBrowsable) { prop.SetValue(Component, true); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved./// Provides a designer that can design components /// that extend ButtonBase. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RedirectionProxy.cs
- SiteMapNodeCollection.cs
- XPathParser.cs
- Stack.cs
- XmlSchemaInferenceException.cs
- EmptyEnumerable.cs
- HandlerBase.cs
- XmlElementList.cs
- InputLanguageProfileNotifySink.cs
- ErasingStroke.cs
- AnnotationComponentChooser.cs
- SqlDataSourceStatusEventArgs.cs
- SHA512Managed.cs
- DashStyle.cs
- Win32Native.cs
- CacheEntry.cs
- InkCanvas.cs
- HttpsChannelListener.cs
- ConcatQueryOperator.cs
- CssTextWriter.cs
- EtwTrackingBehaviorElement.cs
- MouseWheelEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- PenLineCapValidation.cs
- DataRelationCollection.cs
- XmlDownloadManager.cs
- PointLightBase.cs
- WebControlAdapter.cs
- SyndicationFeed.cs
- HttpBrowserCapabilitiesWrapper.cs
- RawStylusInput.cs
- contentDescriptor.cs
- BaseValidator.cs
- MetadataUtil.cs
- RawStylusInput.cs
- OutputCacheSection.cs
- SoapHeaderException.cs
- DbConnectionHelper.cs
- Main.cs
- ResourceProviderFactory.cs
- Perspective.cs
- Visitors.cs
- WindowsMenu.cs
- WSHttpBindingElement.cs
- RegexCapture.cs
- CounterSampleCalculator.cs
- DictionaryManager.cs
- ErrorActivity.cs
- WebBaseEventKeyComparer.cs
- ImportContext.cs
- HiddenField.cs
- OrderedDictionaryStateHelper.cs
- MergablePropertyAttribute.cs
- InternalSafeNativeMethods.cs
- RequestResizeEvent.cs
- Parser.cs
- Pens.cs
- FrameSecurityDescriptor.cs
- DynamicRenderer.cs
- RegexParser.cs
- InkPresenterAutomationPeer.cs
- BulletedListEventArgs.cs
- UnsafeNativeMethods.cs
- PageThemeBuildProvider.cs
- IPipelineRuntime.cs
- CollectionBuilder.cs
- ListDesigner.cs
- CommentEmitter.cs
- Menu.cs
- StringOutput.cs
- CustomExpressionEventArgs.cs
- Matrix3DValueSerializer.cs
- SubMenuStyle.cs
- RelatedEnd.cs
- BlobPersonalizationState.cs
- CodeNamespace.cs
- MemoryStream.cs
- ElapsedEventArgs.cs
- RemotingConfigParser.cs
- MembershipPasswordException.cs
- dtdvalidator.cs
- Util.cs
- NativeMethods.cs
- DecoderBestFitFallback.cs
- ConnectionInterfaceCollection.cs
- HashHelper.cs
- StringUtil.cs
- EventPropertyMap.cs
- CodeRemoveEventStatement.cs
- EntitySqlException.cs
- SourceItem.cs
- QuadraticBezierSegment.cs
- StreamGeometry.cs
- CodeGroup.cs
- DataGridViewButtonColumn.cs
- SqlExpressionNullability.cs
- PositiveTimeSpanValidatorAttribute.cs
- CollectionEditVerbManager.cs
- BookmarkScopeHandle.cs
- ChameleonKey.cs