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
- GridViewActionList.cs
- InfoCardSymmetricCrypto.cs
- MouseDevice.cs
- CatalogZoneBase.cs
- ListDictionaryInternal.cs
- DataGridViewColumn.cs
- EntityDataSourceQueryBuilder.cs
- BigInt.cs
- ImplicitInputBrush.cs
- CqlWriter.cs
- DrawingBrush.cs
- PageTheme.cs
- Profiler.cs
- FunctionNode.cs
- DictionaryEditChange.cs
- BaseResourcesBuildProvider.cs
- SmtpDigestAuthenticationModule.cs
- LocatorManager.cs
- DbProviderFactory.cs
- TypeConverter.cs
- ViewStateException.cs
- SqlBuilder.cs
- UdpMessageProperty.cs
- DesignerWebPartChrome.cs
- InvalidCommandTreeException.cs
- EdmEntityTypeAttribute.cs
- ItemCheckedEvent.cs
- PaintEvent.cs
- TraceData.cs
- TextElementEnumerator.cs
- Int16Converter.cs
- _ProxyChain.cs
- AssemblyNameProxy.cs
- LinearGradientBrush.cs
- FixedPageProcessor.cs
- BitmapData.cs
- SQLBytesStorage.cs
- XmlSchemaSimpleType.cs
- CachedCompositeFamily.cs
- TransformerConfigurationWizardBase.cs
- XmlHierarchyData.cs
- WebException.cs
- TemplateInstanceAttribute.cs
- MarshalByValueComponent.cs
- SoundPlayerAction.cs
- HMAC.cs
- ConnectionStringsExpressionBuilder.cs
- DelimitedListTraceListener.cs
- Rectangle.cs
- Rijndael.cs
- WindowsSpinner.cs
- Selection.cs
- BitmapEffectDrawingContextWalker.cs
- querybuilder.cs
- BuildResultCache.cs
- TrustLevelCollection.cs
- SmtpLoginAuthenticationModule.cs
- WorkflowTimerService.cs
- Content.cs
- KeyFrames.cs
- Camera.cs
- SerialErrors.cs
- FixedElement.cs
- KeysConverter.cs
- ImageList.cs
- EncryptedType.cs
- cryptoapiTransform.cs
- TdsParserStateObject.cs
- ToolStripDropDownItem.cs
- HideDisabledControlAdapter.cs
- AuthorizationRule.cs
- XhtmlBasicPanelAdapter.cs
- CheckedPointers.cs
- BoundColumn.cs
- ParameterCollectionEditor.cs
- Cursor.cs
- FederatedMessageSecurityOverHttpElement.cs
- TypeSystem.cs
- HtmlTableRow.cs
- LayoutDump.cs
- GetWinFXPath.cs
- EasingKeyFrames.cs
- ComponentChangingEvent.cs
- InstanceNameConverter.cs
- XpsS0ValidatingLoader.cs
- StoreAnnotationsMap.cs
- BCLDebug.cs
- HtmlInputButton.cs
- FtpCachePolicyElement.cs
- HtmlFormWrapper.cs
- XmlTypeAttribute.cs
- IndependentlyAnimatedPropertyMetadata.cs
- _Rfc2616CacheValidators.cs
- XmlFileEditor.cs
- PasswordDeriveBytes.cs
- Vector3DValueSerializer.cs
- CollectionViewGroup.cs
- PackageRelationshipSelector.cs
- ProfileBuildProvider.cs
- LogicalExpr.cs