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
- InvokeHandlers.cs
- RichTextBox.cs
- TabControlCancelEvent.cs
- sqlcontext.cs
- RenderDataDrawingContext.cs
- RunWorkerCompletedEventArgs.cs
- DataGridViewRowHeaderCell.cs
- RepeaterCommandEventArgs.cs
- BackgroundWorker.cs
- FixedSOMImage.cs
- EntityContainerAssociationSet.cs
- ListViewGroupConverter.cs
- CustomErrorsSection.cs
- _SSPISessionCache.cs
- JournalEntry.cs
- ConfigXmlElement.cs
- DataGridAddNewRow.cs
- Point3DIndependentAnimationStorage.cs
- RemoteWebConfigurationHostServer.cs
- DocumentApplication.cs
- BuildManagerHost.cs
- CrossAppDomainChannel.cs
- FixedDocumentSequencePaginator.cs
- StandardToolWindows.cs
- GorillaCodec.cs
- DbConnectionPoolCounters.cs
- TypeCodeDomSerializer.cs
- CfgArc.cs
- Math.cs
- ItemChangedEventArgs.cs
- XmlSignificantWhitespace.cs
- StringValidator.cs
- SQLGuid.cs
- XmlSchemaElement.cs
- WebServiceData.cs
- Formatter.cs
- MsmqInputSessionChannel.cs
- CacheHelper.cs
- XmlBinaryWriter.cs
- ThreadAttributes.cs
- DataGridHeaderBorder.cs
- ParameterBuilder.cs
- StateInitializationDesigner.cs
- InstanceData.cs
- ActivityValidator.cs
- ConnectionPoolManager.cs
- WindowsStatusBar.cs
- ConfigurationLocationCollection.cs
- HtmlInputPassword.cs
- basevalidator.cs
- CompositeScriptReferenceEventArgs.cs
- XmlSchemaImporter.cs
- ApplicationManager.cs
- FixUp.cs
- XmlCharCheckingWriter.cs
- SimpleWebHandlerParser.cs
- AvTraceDetails.cs
- MediaTimeline.cs
- MembershipSection.cs
- KoreanCalendar.cs
- ParsedAttributeCollection.cs
- DataGridViewColumn.cs
- DataRelationPropertyDescriptor.cs
- SafeNativeMethods.cs
- Ipv6Element.cs
- WorkflowDesignerMessageFilter.cs
- CustomBinding.cs
- ListCommandEventArgs.cs
- OSFeature.cs
- ToggleButtonAutomationPeer.cs
- DynamicPropertyHolder.cs
- PathNode.cs
- SettingsProperty.cs
- PieceDirectory.cs
- DataService.cs
- ToolStripAdornerWindowService.cs
- DbParameterHelper.cs
- DataGridToolTip.cs
- DataGridViewCellPaintingEventArgs.cs
- WorkflowTimerService.cs
- DummyDataSource.cs
- EventManager.cs
- SoapFault.cs
- Assert.cs
- ArrayList.cs
- RolePrincipal.cs
- RegexNode.cs
- CodeNamespaceCollection.cs
- ObjectComplexPropertyMapping.cs
- SwitchLevelAttribute.cs
- RemotingException.cs
- PointAnimationClockResource.cs
- TimeSpan.cs
- StylusPlugInCollection.cs
- TypedElement.cs
- EnumCodeDomSerializer.cs
- PbrsForward.cs
- BatchStream.cs
- CodeDOMUtility.cs
- WebPartUserCapability.cs