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
- DesignerListAdapter.cs
- SchemaNames.cs
- CheckBoxList.cs
- MatrixTransform3D.cs
- HtmlInputHidden.cs
- PaintValueEventArgs.cs
- WSFederationHttpSecurityElement.cs
- ProviderUtil.cs
- SystemIPInterfaceStatistics.cs
- ScriptControlManager.cs
- ValidatorCollection.cs
- LinqDataSourceView.cs
- RadioButtonBaseAdapter.cs
- MemoryMappedView.cs
- XmlDeclaration.cs
- Transform3DGroup.cs
- WrappedOptions.cs
- ComponentDispatcher.cs
- PropertyChangingEventArgs.cs
- TemplatedMailWebEventProvider.cs
- DataServiceRequestOfT.cs
- SrgsRuleRef.cs
- FillBehavior.cs
- KeyBinding.cs
- DataGridrowEditEndingEventArgs.cs
- Visual.cs
- FileIOPermission.cs
- CodeAccessSecurityEngine.cs
- Activity.cs
- EdgeProfileValidation.cs
- StringPropertyBuilder.cs
- Memoizer.cs
- MatrixValueSerializer.cs
- IPEndPointCollection.cs
- ChtmlTextWriter.cs
- HtmlElementCollection.cs
- TabControlEvent.cs
- VersionPair.cs
- CodeMemberEvent.cs
- UInt16Converter.cs
- DirectionalLight.cs
- ForceCopyBuildProvider.cs
- MouseWheelEventArgs.cs
- ObjectListFieldsPage.cs
- MailBnfHelper.cs
- RoutedEventConverter.cs
- WinEventHandler.cs
- ConstructorNeedsTagAttribute.cs
- ResourceManager.cs
- ProcessManager.cs
- RowUpdatedEventArgs.cs
- DivideByZeroException.cs
- FileDataSourceCache.cs
- ObjectDataSourceEventArgs.cs
- TimerEventSubscription.cs
- XmlException.cs
- XamlTemplateSerializer.cs
- XmlAggregates.cs
- RegularExpressionValidator.cs
- CounterSet.cs
- Command.cs
- SqlClientPermission.cs
- StrongNameMembershipCondition.cs
- TraceHandler.cs
- CodeConditionStatement.cs
- TextCompositionEventArgs.cs
- RoutedEventConverter.cs
- EventLogQuery.cs
- messageonlyhwndwrapper.cs
- XmlValidatingReader.cs
- WebServiceReceive.cs
- XmlnsCache.cs
- lengthconverter.cs
- EncoderParameters.cs
- WebServiceData.cs
- MsmqIntegrationInputChannel.cs
- SiteMap.cs
- EvidenceBase.cs
- RemoteHelper.cs
- ConstructorNeedsTagAttribute.cs
- MsmqHostedTransportManager.cs
- TransactionScope.cs
- StaticExtension.cs
- WebPermission.cs
- PtsHost.cs
- MaterializeFromAtom.cs
- XsdDataContractExporter.cs
- SerialStream.cs
- DetailsViewDeleteEventArgs.cs
- FixedPageAutomationPeer.cs
- Label.cs
- CodeSubDirectory.cs
- ProcessModuleDesigner.cs
- ErrorTableItemStyle.cs
- SchemaNames.cs
- StringCollection.cs
- KeyValueSerializer.cs
- CacheMemory.cs
- OleDbParameterCollection.cs
- CallbackHandler.cs