Code:
/ FX-1434 / FX-1434 / 1.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
- BooleanExpr.cs
- GridViewAutomationPeer.cs
- Dictionary.cs
- AspNetRouteServiceHttpHandler.cs
- WebSysDescriptionAttribute.cs
- HtmlDocument.cs
- AutomationEventArgs.cs
- WindowsListBox.cs
- ThemeDirectoryCompiler.cs
- SystemWebCachingSectionGroup.cs
- COM2IDispatchConverter.cs
- DesignerForm.cs
- KeyValueConfigurationElement.cs
- WebRequestModuleElement.cs
- IUnknownConstantAttribute.cs
- CompilerWrapper.cs
- basecomparevalidator.cs
- BamlResourceSerializer.cs
- MonthCalendar.cs
- BitArray.cs
- HtmlUtf8RawTextWriter.cs
- EditorOptionAttribute.cs
- DetailsViewRowCollection.cs
- RIPEMD160.cs
- TextOutput.cs
- WhitespaceReader.cs
- TransactionFlowBindingElementImporter.cs
- EventMap.cs
- XmlReflectionImporter.cs
- DocumentsTrace.cs
- TreeIterators.cs
- DbParameterHelper.cs
- TextRange.cs
- FixUp.cs
- TraceListeners.cs
- UnSafeCharBuffer.cs
- AppliedDeviceFiltersDialog.cs
- AnimationClock.cs
- CodeValidator.cs
- MergeFilterQuery.cs
- SqlClientWrapperSmiStream.cs
- UInt64.cs
- XmlNode.cs
- AutomationAttributeInfo.cs
- ScriptMethodAttribute.cs
- Rotation3DAnimation.cs
- ObjectToken.cs
- IApplicationTrustManager.cs
- SerialErrors.cs
- ProtocolsConfigurationEntry.cs
- Int32RectValueSerializer.cs
- SymmetricAlgorithm.cs
- ClientProxyGenerator.cs
- StandardMenuStripVerb.cs
- ScrollableControl.cs
- SiteIdentityPermission.cs
- Popup.cs
- TakeQueryOptionExpression.cs
- BlurBitmapEffect.cs
- AuthenticationModulesSection.cs
- PagerStyle.cs
- AttributeXamlType.cs
- EditorZone.cs
- SerializeAbsoluteContext.cs
- XmlNodeReader.cs
- SHA384Managed.cs
- ApplicationManager.cs
- FontNamesConverter.cs
- UnsafeNativeMethods.cs
- Byte.cs
- ParamArrayAttribute.cs
- OAVariantLib.cs
- HelloMessageApril2005.cs
- CodeTypeDelegate.cs
- ListViewItem.cs
- XDeferredAxisSource.cs
- TrustLevelCollection.cs
- SelectionProcessor.cs
- UserControl.cs
- RequestStatusBarUpdateEventArgs.cs
- HandlerFactoryCache.cs
- NativeMethods.cs
- SqlDataSourceCache.cs
- BindingExpressionUncommonField.cs
- ControlParameter.cs
- IteratorAsyncResult.cs
- EventDescriptor.cs
- CodeDefaultValueExpression.cs
- BCryptHashAlgorithm.cs
- SHA512.cs
- WinFormsComponentEditor.cs
- COM2FontConverter.cs
- TableRowCollection.cs
- NamespaceCollection.cs
- PersonalizableAttribute.cs
- ViewPort3D.cs
- ZipPackagePart.cs
- DeferrableContentConverter.cs
- UserControlBuildProvider.cs
- SingleKeyFrameCollection.cs