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
- DataListCommandEventArgs.cs
- AnchoredBlock.cs
- TypeGenericEnumerableViewSchema.cs
- FocusTracker.cs
- BooleanFacetDescriptionElement.cs
- GroupBox.cs
- DataGridCellAutomationPeer.cs
- ViewStateAttachedPropertyFeature.cs
- RoleManagerModule.cs
- ArithmeticException.cs
- GlyphInfoList.cs
- Control.cs
- Knowncolors.cs
- Helpers.cs
- InProcStateClientManager.cs
- EpmAttributeNameBuilder.cs
- ObjectPersistData.cs
- Stack.cs
- ComponentDispatcher.cs
- XPathChildIterator.cs
- ResourceLoader.cs
- Matrix.cs
- DataObjectFieldAttribute.cs
- PeerConnector.cs
- GroupItem.cs
- WebPartMenuStyle.cs
- hresults.cs
- HostedBindingBehavior.cs
- CheckoutException.cs
- ListBoxAutomationPeer.cs
- SoapReflectionImporter.cs
- ResourceKey.cs
- Vector3DKeyFrameCollection.cs
- MobileControlPersister.cs
- ChangePasswordAutoFormat.cs
- TimelineCollection.cs
- precedingsibling.cs
- CleanUpVirtualizedItemEventArgs.cs
- TableSectionStyle.cs
- XPathAncestorQuery.cs
- InArgumentConverter.cs
- DateTimeStorage.cs
- CharacterMetrics.cs
- DocumentViewerAutomationPeer.cs
- TextBounds.cs
- SmtpMail.cs
- DataError.cs
- CacheOutputQuery.cs
- ApplicationDirectoryMembershipCondition.cs
- CookieProtection.cs
- DeferrableContent.cs
- FileSystemWatcher.cs
- FileCodeGroup.cs
- ChtmlCalendarAdapter.cs
- TrimSurroundingWhitespaceAttribute.cs
- TextTreeTextElementNode.cs
- DataBinder.cs
- CodeMethodReturnStatement.cs
- GlobalEventManager.cs
- DataTablePropertyDescriptor.cs
- AttachmentService.cs
- CompositeScriptReference.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Adorner.cs
- RuntimeConfig.cs
- PageSetupDialog.cs
- ScrollProviderWrapper.cs
- CompleteWizardStep.cs
- updatecommandorderer.cs
- StringBuilder.cs
- TableCellAutomationPeer.cs
- _NestedSingleAsyncResult.cs
- CommentAction.cs
- ProfilePropertyNameValidator.cs
- BamlLocalizer.cs
- ServiceRouteHandler.cs
- mediaclock.cs
- EncodingFallbackAwareXmlTextWriter.cs
- RawStylusInputCustomDataList.cs
- InboundActivityHelper.cs
- BodyGlyph.cs
- WindowsStreamSecurityUpgradeProvider.cs
- EntityDataSourceValidationException.cs
- XMLSchema.cs
- SingleAnimationBase.cs
- ImpersonationContext.cs
- WorkflowMarkupSerializerMapping.cs
- ItemsPresenter.cs
- counter.cs
- CodeTypeReferenceSerializer.cs
- ServiceAuthorizationBehavior.cs
- DataBoundLiteralControl.cs
- ExceptionUtil.cs
- DataGridRowDetailsEventArgs.cs
- ScrollViewer.cs
- MappingSource.cs
- PeerInvitationResponse.cs
- CommandEventArgs.cs
- SmtpFailedRecipientsException.cs
- sitestring.cs