Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorOkVerb.cs / 1 / WebPartEditorOkVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorOKVerb : WebPartActionVerb { // Properties must look at viewstate directly instead of the property in the base class, // so we can distinguish between an unset property and a property set to String.Empty. [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorOKVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorOKVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextDecoration.cs
- Parameter.cs
- StringComparer.cs
- XamlGridLengthSerializer.cs
- ManagementPath.cs
- XPathScanner.cs
- AssemblyAssociatedContentFileAttribute.cs
- RsaElement.cs
- UserCancellationException.cs
- NamespaceMapping.cs
- FixedFindEngine.cs
- KeyPressEvent.cs
- ChameleonKey.cs
- DnsEndPoint.cs
- MediaPlayerState.cs
- SQLBytes.cs
- SimpleApplicationHost.cs
- ApplicationTrust.cs
- CookieProtection.cs
- XmlMemberMapping.cs
- StringBuilder.cs
- RegexStringValidator.cs
- CallInfo.cs
- TypeRefElement.cs
- WebControl.cs
- VerticalAlignConverter.cs
- KerberosReceiverSecurityToken.cs
- TokenDescriptor.cs
- DataSourceControlBuilder.cs
- RuntimeCompatibilityAttribute.cs
- EntityConnectionStringBuilder.cs
- Boolean.cs
- DoubleAverageAggregationOperator.cs
- FontDriver.cs
- NameValueFileSectionHandler.cs
- GrammarBuilder.cs
- ICollection.cs
- PeerSecurityHelpers.cs
- _Semaphore.cs
- cookiecontainer.cs
- SuppressIldasmAttribute.cs
- CultureSpecificCharacterBufferRange.cs
- HMAC.cs
- BitmapFrame.cs
- Inline.cs
- DataControlCommands.cs
- ISO2022Encoding.cs
- Calendar.cs
- PointConverter.cs
- ExtendedPropertyCollection.cs
- Delegate.cs
- PrintPageEvent.cs
- XamlStream.cs
- XmlSchemaSimpleType.cs
- MILUtilities.cs
- ByteFacetDescriptionElement.cs
- IconHelper.cs
- SettingsSection.cs
- Size.cs
- SoapAttributes.cs
- ModelPerspective.cs
- BezierSegment.cs
- DBNull.cs
- ProfilePropertySettings.cs
- HttpRequestContext.cs
- ThicknessConverter.cs
- HwndAppCommandInputProvider.cs
- WebConfigurationFileMap.cs
- Brush.cs
- DesignerObject.cs
- HandledMouseEvent.cs
- FormsIdentity.cs
- XmlAttributeCollection.cs
- DataGridComboBoxColumn.cs
- LogFlushAsyncResult.cs
- FrameworkReadOnlyPropertyMetadata.cs
- ObjectTag.cs
- HtmlElementErrorEventArgs.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- SafeFindHandle.cs
- MethodBody.cs
- MobileRedirect.cs
- RequiredAttributeAttribute.cs
- ParsedAttributeCollection.cs
- LoginName.cs
- TraceHandlerErrorFormatter.cs
- RelatedCurrencyManager.cs
- CodeStatement.cs
- DataConnectionHelper.cs
- MimeMapping.cs
- TypeBuilder.cs
- MachineKeyConverter.cs
- ContextQuery.cs
- HttpModulesSection.cs
- LOSFormatter.cs
- ForeignKeyConstraint.cs
- PopupControlService.cs
- Helpers.cs
- ModifierKeysValueSerializer.cs
- EventLogEntry.cs