Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / TargetConverter.cs / 1 / 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; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ConfigurationException.cs
- DbSourceParameterCollection.cs
- BuildDependencySet.cs
- CoTaskMemHandle.cs
- CreateSequence.cs
- DataServiceHost.cs
- DebuggerAttributes.cs
- CustomAttributeSerializer.cs
- PreviewKeyDownEventArgs.cs
- DataGridTableCollection.cs
- ActiveXContainer.cs
- EntityContainer.cs
- CacheHelper.cs
- WebPartDesigner.cs
- StorageAssociationSetMapping.cs
- SizeIndependentAnimationStorage.cs
- Timeline.cs
- PreservationFileReader.cs
- ColumnHeader.cs
- mansign.cs
- SafeRightsManagementQueryHandle.cs
- SqlStream.cs
- BezierSegment.cs
- CodeThrowExceptionStatement.cs
- Pair.cs
- WithParamAction.cs
- TdsRecordBufferSetter.cs
- DecoderReplacementFallback.cs
- WebMessageEncodingBindingElement.cs
- ActiveXMessageFormatter.cs
- LinkedResourceCollection.cs
- TextEditorThreadLocalStore.cs
- FlowDocumentScrollViewer.cs
- CommonDialog.cs
- GZipDecoder.cs
- DesignerVerb.cs
- Hex.cs
- AttributeCollection.cs
- SponsorHelper.cs
- AlignmentYValidation.cs
- TreeNode.cs
- RenameRuleObjectDialog.Designer.cs
- BamlVersionHeader.cs
- Config.cs
- SmtpException.cs
- Point3DKeyFrameCollection.cs
- DataGridViewColumnHeaderCell.cs
- RTTrackingProfile.cs
- MutexSecurity.cs
- EntityClassGenerator.cs
- Int32AnimationUsingKeyFrames.cs
- PageAsyncTask.cs
- NavigationHelper.cs
- OdbcUtils.cs
- ObjectDataSourceView.cs
- Exceptions.cs
- AddIn.cs
- WebPartConnectionsConfigureVerb.cs
- BitmapEffectState.cs
- UrlMappingsModule.cs
- MsmqBindingFilter.cs
- ImageClickEventArgs.cs
- WindowProviderWrapper.cs
- isolationinterop.cs
- BindingContext.cs
- UriSection.cs
- MonthCalendarDesigner.cs
- HtmlPageAdapter.cs
- SocketManager.cs
- ClickablePoint.cs
- Internal.cs
- KeysConverter.cs
- OpenTypeLayout.cs
- InkCanvasInnerCanvas.cs
- PropertyNames.cs
- WorkflowPersistenceService.cs
- UInt32.cs
- TemplateNameScope.cs
- ControlBuilderAttribute.cs
- OperationCanceledException.cs
- InputDevice.cs
- PropertyChange.cs
- FrameworkElement.cs
- GridSplitter.cs
- DbConnectionClosed.cs
- SID.cs
- ChannelBuilder.cs
- EventLevel.cs
- FixedStringLookup.cs
- TemplateContentLoader.cs
- CodePropertyReferenceExpression.cs
- SecurityResources.cs
- ByteStream.cs
- GroupBoxAutomationPeer.cs
- HostedElements.cs
- SoapInteropTypes.cs
- RulePatternOps.cs
- OverflowException.cs
- UserPersonalizationStateInfo.cs
- autovalidator.cs