Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / FormViewActionList.cs / 1 / FormViewActionList.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System; using System.Collections; using System.ComponentModel; using System.ComponentModel.Design; using System.Design; using System.Diagnostics; using System.Web.UI.Design; using System.Web.UI.Design.Util; using System.Web.UI.WebControls; using System.Windows.Forms; ///internal class FormViewActionList : DesignerActionList { private FormViewDesigner _formViewDesigner; private bool _allowPaging; /// public FormViewActionList(FormViewDesigner formViewDesigner) : base(formViewDesigner.Component) { _formViewDesigner = formViewDesigner; } /// /// Lets the FormView designer specify whether the Page action should be visible/enabled /// internal bool AllowPaging { get { return _allowPaging; } set { _allowPaging = value; } } public override bool AutoShow { get { return true; } set { } } ////// Property used by chrome to display the page checkbox. Called through reflection. /// public bool EnablePaging { get { return _formViewDesigner.EnablePaging; } set { _formViewDesigner.EnablePaging = value; } } ///public override DesignerActionItemCollection GetSortedActionItems() { DesignerActionItemCollection items = new DesignerActionItemCollection(); if (AllowPaging) { items.Add(new DesignerActionPropertyItem("EnablePaging", SR.GetString(SR.FormView_EnablePaging), "Behavior", SR.GetString(SR.FormView_EnablePagingDesc))); } return items; } } } // 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
- FileDetails.cs
- ThemeDirectoryCompiler.cs
- DataFormats.cs
- TimelineGroup.cs
- TypeConverterValueSerializer.cs
- DeviceContext2.cs
- ModelTreeManager.cs
- BaseDataBoundControlDesigner.cs
- WebPartVerb.cs
- ComponentEditorPage.cs
- SQLUtility.cs
- Win32PrintDialog.cs
- ACL.cs
- Context.cs
- ExceptionAggregator.cs
- SharedPerformanceCounter.cs
- ControlCollection.cs
- DifferencingCollection.cs
- CodeAccessPermission.cs
- SerializationInfo.cs
- AssemblyFilter.cs
- CriticalHandle.cs
- EntityDataSourceReferenceGroup.cs
- ListBase.cs
- TextFormatterHost.cs
- GeneralTransform2DTo3DTo2D.cs
- Page.cs
- ErrorItem.cs
- FlowchartDesignerCommands.cs
- Privilege.cs
- storepermissionattribute.cs
- SecurityContext.cs
- UIElementParagraph.cs
- XPathBuilder.cs
- HostDesigntimeLicenseContext.cs
- TemporaryBitmapFile.cs
- StdValidatorsAndConverters.cs
- CellTreeNodeVisitors.cs
- XmlCountingReader.cs
- DynamicField.cs
- ArgumentValidation.cs
- MultipartContentParser.cs
- Lookup.cs
- FlowNode.cs
- SecurityDescriptor.cs
- SqlReorderer.cs
- MappedMetaModel.cs
- CustomCredentialPolicy.cs
- XmlSerializerVersionAttribute.cs
- Rijndael.cs
- PartialTrustHelpers.cs
- ComplexTypeEmitter.cs
- StringPropertyBuilder.cs
- PropertyOrder.cs
- Rectangle.cs
- DynamicDataRoute.cs
- FileLogRecordStream.cs
- FilteredAttributeCollection.cs
- CodeDomDecompiler.cs
- DynamicDiscoveryDocument.cs
- OptionUsage.cs
- Util.cs
- AutomationPatternInfo.cs
- EncodedStreamFactory.cs
- WebPartDeleteVerb.cs
- MSG.cs
- login.cs
- WebPartHeaderCloseVerb.cs
- TreeView.cs
- SmtpFailedRecipientException.cs
- QilUnary.cs
- BitmapEffectInput.cs
- OdbcConnection.cs
- XPathAxisIterator.cs
- AuthenticationModuleElement.cs
- WorkflowDataContext.cs
- ExecutionContext.cs
- HttpCookiesSection.cs
- WorkflowViewService.cs
- Assert.cs
- SHA512Managed.cs
- Sql8ExpressionRewriter.cs
- NonBatchDirectoryCompiler.cs
- VersionPair.cs
- FlowDocumentPaginator.cs
- ScrollItemPattern.cs
- XmlNodeList.cs
- StructuralObject.cs
- UnsafeNativeMethods.cs
- SqlGatherConsumedAliases.cs
- SignedPkcs7.cs
- CompilerErrorCollection.cs
- BaseAppDomainProtocolHandler.cs
- AdCreatedEventArgs.cs
- ViewCellRelation.cs
- Column.cs
- XPathDocumentNavigator.cs
- DataStreamFromComStream.cs
- OutOfProcStateClientManager.cs
- XmlExceptionHelper.cs