Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / WebParts / WebPartEditorApplyVerb.cs / 1 / WebPartEditorApplyVerb.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorApplyVerb : 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.WebPartEditorApplyVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorApplyVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.WebControls.WebParts { using System; internal sealed class WebPartEditorApplyVerb : 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.WebPartEditorApplyVerb_Description) ] public override string Description { get { object o = ViewState["Description"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Description) : (string)o; } set { ViewState["Description"] = value; } } [ WebSysDefaultValue(SR.WebPartEditorApplyVerb_Text) ] public override string Text { get { object o = ViewState["Text"]; return (o == null) ? SR.GetString(SR.WebPartEditorApplyVerb_Text) : (string)o; } set { ViewState["Text"] = value; } } } } // 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
- CodeArrayCreateExpression.cs
- DataGridViewCellStyle.cs
- WCFModelStrings.Designer.cs
- DateTimeValueSerializer.cs
- UpdateProgress.cs
- BinaryObjectReader.cs
- ActivityBindForm.cs
- ScriptResourceAttribute.cs
- Argument.cs
- cookie.cs
- CrossContextChannel.cs
- TransactionTraceIdentifier.cs
- TextDocumentView.cs
- CryptographicAttribute.cs
- OracleSqlParser.cs
- WebBodyFormatMessageProperty.cs
- InstancePersistenceException.cs
- TaskFormBase.cs
- AsymmetricSecurityProtocolFactory.cs
- SqlComparer.cs
- DrawingContextDrawingContextWalker.cs
- TypeDescriptor.cs
- GridViewColumnCollectionChangedEventArgs.cs
- JsonObjectDataContract.cs
- Partitioner.cs
- DataSourceXmlAttributeAttribute.cs
- EditorZone.cs
- ColumnTypeConverter.cs
- NoneExcludedImageIndexConverter.cs
- DetailsViewPagerRow.cs
- SqlConnectionPoolProviderInfo.cs
- HostExecutionContextManager.cs
- FilteredAttributeCollection.cs
- Matrix3DStack.cs
- ExecutionEngineException.cs
- RC2CryptoServiceProvider.cs
- AdornedElementPlaceholder.cs
- MachineSettingsSection.cs
- AggregationMinMaxHelpers.cs
- UrlParameterWriter.cs
- SqlGenericUtil.cs
- CalendarDateChangedEventArgs.cs
- ByteKeyFrameCollection.cs
- WindowsContainer.cs
- LinkConverter.cs
- GridViewRow.cs
- HebrewCalendar.cs
- XmlQueryContext.cs
- SafePEFileHandle.cs
- GlyphElement.cs
- ImageDrawing.cs
- XmlUnspecifiedAttribute.cs
- MemoryStream.cs
- NullableDoubleSumAggregationOperator.cs
- TextChange.cs
- CompilationUtil.cs
- ShaderEffect.cs
- TableLayoutPanelCellPosition.cs
- WmlObjectListAdapter.cs
- WebEventTraceProvider.cs
- Behavior.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- XmlExpressionDumper.cs
- SqlDependencyUtils.cs
- LocalIdKeyIdentifierClause.cs
- CfgSemanticTag.cs
- MaskDescriptors.cs
- DataGridCellInfo.cs
- PeerInvitationResponse.cs
- OdbcReferenceCollection.cs
- ColorKeyFrameCollection.cs
- InkCanvas.cs
- SpecialFolderEnumConverter.cs
- SplitterEvent.cs
- InvalidateEvent.cs
- PhoneCall.cs
- DataGridParentRows.cs
- InternalBase.cs
- CodeSnippetStatement.cs
- PopupControlService.cs
- InvalidFilterCriteriaException.cs
- BindingCompleteEventArgs.cs
- Maps.cs
- MetadataAssemblyHelper.cs
- OleDbDataReader.cs
- EntityConnection.cs
- FixedSOMElement.cs
- CodeConditionStatement.cs
- MobileUserControlDesigner.cs
- XmlNodeReader.cs
- Msec.cs
- CompilerParameters.cs
- ComplexPropertyEntry.cs
- ModelProperty.cs
- IgnorePropertiesAttribute.cs
- HtmlInputText.cs
- SqlWriter.cs
- ImageAnimator.cs
- FreezableOperations.cs
- DispatcherEventArgs.cs