Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / TargetConverter.cs / 1305376 / TargetConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.ComponentModel; using System.Globalization; using System.Reflection; ////// public class TargetConverter: StringConverter { private static string [] targetValues = { "_blank", "_parent", "_search", "_self", "_top" }; private StandardValuesCollection values; ////// /// public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) { if (values == null) { values = new StandardValuesCollection(targetValues); } return values; } ////// /// public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) { return false; } ////// /// public override bool GetStandardValuesSupported(ITypeDescriptorContext context) { return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls { using System.Collections; using System.ComponentModel; using System.Globalization; using System.Reflection; ////// public class TargetConverter: StringConverter { private static string [] targetValues = { "_blank", "_parent", "_search", "_self", "_top" }; private StandardValuesCollection values; ////// /// public override StandardValuesCollection GetStandardValues(ITypeDescriptorContext context) { if (values == null) { values = new StandardValuesCollection(targetValues); } return values; } ////// /// public override bool GetStandardValuesExclusive(ITypeDescriptorContext context) { return false; } ////// /// public override bool GetStandardValuesSupported(ITypeDescriptorContext context) { return true; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CompressEmulationStream.cs
- PropertyPanel.cs
- EncoderNLS.cs
- ToolStripStatusLabel.cs
- MemberRestriction.cs
- GPPOINT.cs
- CodeGotoStatement.cs
- ErrorFormatter.cs
- X509Certificate.cs
- EndEvent.cs
- BindingObserver.cs
- AbandonedMutexException.cs
- ComboBoxAutomationPeer.cs
- SizeAnimation.cs
- QilScopedVisitor.cs
- NamedPipeAppDomainProtocolHandler.cs
- AttributeParameterInfo.cs
- BaseConfigurationRecord.cs
- WinCategoryAttribute.cs
- EdmValidator.cs
- WebPartEditorOkVerb.cs
- Baml2006SchemaContext.cs
- ValidatingReaderNodeData.cs
- WebBrowserBase.cs
- CustomDictionarySources.cs
- MessageContractExporter.cs
- ClientSideProviderDescription.cs
- FloaterParaClient.cs
- SafeWaitHandle.cs
- HtmlDocument.cs
- ColumnResizeUndoUnit.cs
- VideoDrawing.cs
- CodeMethodMap.cs
- BatchServiceHost.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- InputMethod.cs
- BamlLocalizationDictionary.cs
- XmlSchema.cs
- IPPacketInformation.cs
- KeyPressEvent.cs
- SqlConnectionStringBuilder.cs
- BuildProviderInstallComponent.cs
- MetadataItemSerializer.cs
- odbcmetadatacolumnnames.cs
- PictureBoxDesigner.cs
- DeclaredTypeValidatorAttribute.cs
- DataGridSortingEventArgs.cs
- TemplateInstanceAttribute.cs
- MailWriter.cs
- ImageInfo.cs
- CategoryGridEntry.cs
- MinMaxParagraphWidth.cs
- CustomCategoryAttribute.cs
- AccessedThroughPropertyAttribute.cs
- GeneralTransform.cs
- EventLogEntry.cs
- CommonDialog.cs
- CounterSampleCalculator.cs
- BaseUriHelper.cs
- ByteConverter.cs
- SqlUnionizer.cs
- DataRowChangeEvent.cs
- WebPartsSection.cs
- XPathDocument.cs
- FileSecurity.cs
- MultiBinding.cs
- ListMarkerSourceInfo.cs
- InlinedAggregationOperator.cs
- RuleSettingsCollection.cs
- WebPartZoneDesigner.cs
- ListDataBindEventArgs.cs
- LayoutEvent.cs
- MimePart.cs
- SpanIndex.cs
- StaticExtension.cs
- FileSystemWatcher.cs
- BamlRecordReader.cs
- BrowserCapabilitiesCompiler.cs
- OutputCacheProfile.cs
- CapabilitiesState.cs
- ControlAdapter.cs
- PropertySet.cs
- InvalidPrinterException.cs
- PerfCounterSection.cs
- EventEntry.cs
- CloseCollectionAsyncResult.cs
- MsmqHostedTransportManager.cs
- InteropDesigner.xaml.cs
- SchemaObjectWriter.cs
- ObjectSecurity.cs
- WebContext.cs
- XNodeValidator.cs
- validation.cs
- LinqDataSourceDeleteEventArgs.cs
- WebPartTransformer.cs
- DictionaryBase.cs
- XmlDictionary.cs
- Image.cs
- KeyConverter.cs
- ValidatorCollection.cs