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
- XmlNodeList.cs
- ToolStripScrollButton.cs
- SiteMap.cs
- ProcessInputEventArgs.cs
- NativeMethodsCLR.cs
- MemoryFailPoint.cs
- CustomLineCap.cs
- ColumnWidthChangingEvent.cs
- ExtendedPropertyCollection.cs
- Decimal.cs
- FileDialog.cs
- QuaternionAnimationBase.cs
- CacheDependency.cs
- CachedPathData.cs
- DBCommand.cs
- FacetChecker.cs
- MouseEventArgs.cs
- Utils.cs
- ResourcePermissionBase.cs
- BackStopAuthenticationModule.cs
- ValueTypeFixupInfo.cs
- DataKey.cs
- NativeMethods.cs
- WindowsAuthenticationEventArgs.cs
- ModulesEntry.cs
- LogConverter.cs
- PointHitTestResult.cs
- DesignTimeTemplateParser.cs
- MembershipValidatePasswordEventArgs.cs
- OneOfTypeConst.cs
- ProfileSettings.cs
- BitArray.cs
- WindowsAuthenticationEventArgs.cs
- SystemIPGlobalStatistics.cs
- EventKeyword.cs
- TimeSpanOrInfiniteConverter.cs
- ValidatingReaderNodeData.cs
- SystemColors.cs
- QuotedStringFormatReader.cs
- WebControlsSection.cs
- ZipIOExtraField.cs
- XmlDictionaryReaderQuotas.cs
- PeerNameRecord.cs
- HtmlTableCell.cs
- TextTreeInsertUndoUnit.cs
- InlineUIContainer.cs
- DbProviderFactory.cs
- ReadOnlyAttribute.cs
- ObjectCloneHelper.cs
- ElapsedEventArgs.cs
- ViewgenContext.cs
- ParenthesizePropertyNameAttribute.cs
- ObjectResult.cs
- LocalizationComments.cs
- RedBlackList.cs
- NamedPipeWorkerProcess.cs
- XpsDigitalSignature.cs
- SchemaMerger.cs
- NativeActivityFaultContext.cs
- XMLDiffLoader.cs
- OlePropertyStructs.cs
- SectionXmlInfo.cs
- XmlSchemaSet.cs
- DbProviderFactories.cs
- TerminatorSinks.cs
- HyperLink.cs
- ApplicationFileCodeDomTreeGenerator.cs
- SafeHandle.cs
- TableLayout.cs
- ControllableStoryboardAction.cs
- MdiWindowListStrip.cs
- CharacterShapingProperties.cs
- SoapSchemaExporter.cs
- SelectedDatesCollection.cs
- ComponentChangingEvent.cs
- GlobalEventManager.cs
- URLString.cs
- ReversePositionQuery.cs
- DesignerTransaction.cs
- Odbc32.cs
- NativeMethods.cs
- TextShapeableCharacters.cs
- ImageListStreamer.cs
- TextTreeObjectNode.cs
- HitTestFilterBehavior.cs
- validation.cs
- MaterializeFromAtom.cs
- ToolStripContextMenu.cs
- ActiveXHelper.cs
- StateMachineSubscriptionManager.cs
- HelpProvider.cs
- DummyDataSource.cs
- TextEditorCopyPaste.cs
- InstanceContextManager.cs
- CalendarBlackoutDatesCollection.cs
- WebInvokeAttribute.cs
- Compiler.cs
- ParserHooks.cs
- WebPartDescriptionCollection.cs
- DirectoryInfo.cs