1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830
|
namespace DevExpress.Web.ASPxPopupControl
{
// Summary:
// Represents a web control, which enables you to add the functionality of popup
// windows to your web application.
[DefaultProperty("Windows")]
[Designer(typeof(ASPxPopupControlDesigner))]
[ToolboxTabName("DX.10.1: Navigation & Layout")]
[DXClientDocumentationProvider("#AspNet/DevExpressWebASPxPopupControlScripts")]
[LicenseProvider(typeof(ASPxperienceLicenseProvider))]
public class ASPxPopupControl : ASPxDataWebControl, IRequiresLoadPostDataControl, IEndInitAccessorContainer
{
protected internal const string CloseButtonClickHandlerName = "aspxPWCBClick(event, '{0}',{1})";
protected internal const string CloseButtonIdPostfix = "Img";
protected internal const string CloseButtonMouseDownHandlerName = "return aspxPWCBMDown(event);";
protected const int DefaultAppearAfter = 300;
protected const int DefaultDisappearAfter = 500;
protected internal const string DraggingMouseDownHandlerName = "aspxPWDGMDown(event,'{0}',{1})";
protected internal const string GripMouseDownHandlerName = "return aspxPWGripMDown(event,'{0}',{1})";
protected internal const string PopupControlScriptResourceName = "DevExpress.Web.Scripts.PopupControl.js";
protected internal const string PreventDragStartHandlerName = "return _aspxPreventDragStart(event)";
protected const bool ShowFooterDefault = false;
protected const bool ShowHeaderDefault = true;
protected internal const string WindowMouseDownHandlerName = "aspxPWMDown(event,'{0}',{1},{2})";
protected internal const string WindowMouseMoveHandlerName = "aspxPWMMove(event,'{0}',{1})";
protected internal const string WindowResizeHandlerName = "aspxPWResize('{0}',{1})";
protected DefaultPopupWindow fDefaultWindow;
protected PCControl fPCControl;
protected PopupWindowCollection fWindows;
// Summary:
// Initializes a new instance of the ASPxPopupControl class.
public ASPxPopupControl();
protected ASPxPopupControl(ASPxWebControl ownerControl);
// Summary:
// Enables support for Section 508.
[AutoFormatDisable]
[Description("Enables support for Section 508.")]
[Category("Accessibility")]
[DefaultValue(false)]
public bool AccessibilityCompliant { get; set; }
protected virtual bool AdjustInnerControlsSizeOnShow { get; }
//
// Summary:
// Gets or sets a value specifying whether a popup window can be dragged by
// end users.
[Category("Behavior")]
[Description("Gets or sets a value specifying whether a popup window can be dragged by end users.")]
[DefaultValue(false)]
[AutoFormatDisable]
public bool AllowDragging { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether the control's popup windows can
// be resized by end-users on the client side.
[DefaultValue(false)]
[Category("Behavior")]
[Description("Gets or sets a value that specifies whether the control's popup windows can be resized by end-users on the client side.")]
[AutoFormatDisable]
public bool AllowResize { get; set; }
//
// Summary:
// Gets or sets the delay in displaying the popup control's popup window.
[Description("Gets or sets the delay in displaying the popup control's popup window.")]
[Category("Behavior")]
[DefaultValue(300)]
[AutoFormatDisable]
public int AppearAfter { get; set; }
//
// Summary:
// Gets or sets the value that specifies whether the default popup window's
// position is updated automatically, when required.
[DefaultValue(false)]
[Description("Gets or sets the value that specifies whether the default popup window's position is updated automatically, when required. ")]
[Category("Behavior")]
[AutoFormatDisable]
public bool AutoUpdatePosition { get; set; }
protected virtual ControlCollection BaseControls { get; }
//
// Summary:
// Gets or sets the ASPxPopupControl's client programmatic identifier.
[Category("Client-Side")]
[Description("Gets or sets the ASPxPopupControl's client programmatic identifier.")]
[DefaultValue("")]
[Localizable(false)]
[AutoFormatDisable]
public string ClientInstanceName { get; set; }
//
// Summary:
// Gets an object that lists the client-side events specific to the current
// popup control.
[Category("Client-Side")]
[Description("Gets an object that lists the client-side events specific to the current popup control.")]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[AutoFormatDisable]
[MergableProperty(false)]
public PopupControlClientSideEvents ClientSideEvents { get; }
//
// Summary:
// Gets or sets a value that specifies which action forces a displayed popup
// window to close.
[Description("Gets or sets a value that specifies which action forces a displayed popup window to close.")]
[AutoFormatDisable]
public CloseAction CloseAction { get; set; }
//
// Summary:
// Gets settings of an image displayed within a window's close button.
[PersistenceMode(PersistenceMode.InnerProperty)]
[Category("Images")]
[AutoFormatEnable]
[Description("Gets settings of an image displayed within a window's close button.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public CloseButtonImageProperties CloseButtonImage { get; }
//
// Summary:
// Gets style settings for a window's close button.
[AutoFormatEnable]
[Category("Styles")]
[Description("Gets style settings for a window's close button.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public PopupWindowButtonStyle CloseButtonStyle { get; }
//
// Summary:
// Gets the collection of the content controls. For internal use only.
[AutoFormatDisable]
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public virtual ContentControlCollection ContentCollection { get; }
//
// Summary:
// Gets style settings for a popup window's content region.
[Description("Gets style settings for a popup window's content region.")]
[Category("Styles")]
[AutoFormatEnable]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public PopupWindowContentStyle ContentStyle { get; }
//
// Summary:
// Gets or sets the navigation location of a specific web page to be displayed
// within the control's popup window.
[AutoFormatDisable]
[Description("Gets or sets the navigation location of a specific web page to be displayed within the control's popup window.")]
[DefaultValue("")]
[Localizable(false)]
[Editor(typeof(UrlEditor), typeof(UITypeEditor))]
[UrlProperty]
public string ContentUrl { get; set; }
//
// Summary:
// Gets a collection that contains child controls representing a popup window's
// content.
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Browsable(false)]
[AutoFormatDisable]
public ControlCollection Controls { get; }
[Browsable(false)]
[AutoFormatDisable]
[DefaultValue("")]
[PersistenceMode(PersistenceMode.InnerProperty)]
protected internal virtual PopupWindow DefaultWindow { get; }
//
// Summary:
// Gets or sets the delay in hiding the popup control's popup window.
[Category("Behavior")]
[Description("Gets or sets the delay in hiding the popup control's popup window.")]
[DefaultValue(500)]
[AutoFormatDisable]
public int DisappearAfter { get; set; }
//
// Summary:
// Get or sets a popup window's part available for drag and drop operations.
[Description("Get or sets a popup window's part available for drag and drop operations.")]
[Category("Behavior")]
[AutoFormatDisable]
public DragElement DragElement { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether a specific animation effect is
// used when a popup window is invoked.
[DefaultValue(true)]
[Description("Gets or sets a value that specifies whether a specific animation effect is used when a popup window is invoked.")]
[Category("Behavior")]
[AutoFormatDisable]
public bool EnableAnimation { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether the popup control can be manipulated
// on the client side via code.
[Category("Client-Side")]
[Description("Gets or sets a value that specifies whether the popup control can be manipulated on the client side via code.")]
[DefaultValue(false)]
[AutoFormatDisable]
public bool EnableClientSideAPI { get; set; }
//
// Summary:
// Gets or set a value that specifies whether the popup control enables its
// control hierarchy to be forcibly recreated to apply to its child controls
// the settings defined at runtime.
[Category("Behavior")]
[Description("Gets or set a value that specifies whether the popup control enables its control hierarchy to be forcibly recreated to apply to its child controls the settings defined at runtime. ")]
[AutoFormatDisable]
[DefaultValue(false)]
public bool EnableHierarchyRecreation { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether a popup window can visually respond
// to mouse hovering.
[Description("Gets or sets a value that specifies whether a popup window can visually respond to mouse hovering.")]
[AutoFormatEnable]
[Category("Behavior")]
[DefaultValue(true)]
public bool EnableHotTrack { get; set; }
//
// Summary:
// Gets the settings of a popup window's footer image.
[AutoFormatEnable]
[Category("Images")]
[Description("Gets the settings of a popup window's footer image.")]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public ImageProperties FooterImage { get; }
//
// Summary:
// Gets or sets an URL where the client's web browser will navigate when the
// text or image is clicked within a popup window's footer.
[Description("Gets or sets an URL where the client's web browser will navigate when the text or image is clicked within a popup window's footer.")]
[UrlProperty]
[AutoFormatDisable]
[Localizable(false)]
[DefaultValue("")]
[Editor(typeof(UrlEditor), typeof(UITypeEditor))]
public string FooterNavigateUrl { get; set; }
//
// Summary:
// Gets style settings for a popup window's footer.
[Category("Styles")]
[Description("Gets style settings for a popup window's footer.")]
[AutoFormatEnable]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public PopupWindowFooterStyle FooterStyle { get; }
//
// Summary:
// Gets or sets a template to display the content of the default popup window's
// footer.
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[DefaultValue("")]
[AutoFormatEnable]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PopupControlTemplateContainer))]
public virtual ITemplate FooterTemplate { get; set; }
//
// Summary:
// Gets or sets the text content of a popup window's footer.
[AutoFormatDisable]
[Description("Gets or sets the text content of a popup window's footer.")]
[DefaultValue("Footer")]
[Localizable(true)]
public string FooterText { get; set; }
//
// Summary:
// Gets the settings of a popup window's header image.
[Description("Gets the settings of a popup window's header image.")]
[Category("Images")]
[AutoFormatEnable]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public ImageProperties HeaderImage { get; }
//
// Summary:
// Gets or sets an URL where the client's web browser will navigate when the
// text or image is clicked within a popup window's header.
[UrlProperty]
[Description("Gets or sets an URL where the client's web browser will navigate when the text or image is clicked within a popup window's header.")]
[AutoFormatDisable]
[DefaultValue("")]
[Localizable(false)]
[Editor(typeof(UrlEditor), typeof(UITypeEditor))]
public string HeaderNavigateUrl { get; set; }
//
// Summary:
// Gets style settings for a popup window's header.
[Description("Gets style settings for a popup window's header.")]
[Category("Styles")]
[AutoFormatEnable]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[PersistenceMode(PersistenceMode.InnerProperty)]
public PopupWindowStyle HeaderStyle { get; }
//
// Summary:
// Gets or sets a template used to display the content of the default popup
// window's header.
[DefaultValue("")]
[Browsable(false)]
[AutoFormatEnable]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PopupControlTemplateContainer))]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public virtual ITemplate HeaderTemplate { get; set; }
//
// Summary:
// Gets or sets the text content of a popup window's header.
[DefaultValue("Header")]
[Description("Gets or sets the text content of a popup window's header.")]
[Localizable(true)]
[AutoFormatDisable]
public string HeaderText { get; set; }
//
// Summary:
// Gets or sets the path to the folder that contains images used by the control.
[Description("Gets or sets the path to the folder that contains images used by the control.")]
[Category("Images")]
[DefaultValue("")]
[Localizable(false)]
[UrlProperty]
[AutoFormatEnable]
[AutoFormatImageFolderProperty]
[AutoFormatUrlProperty]
public string ImageFolder { get; set; }
protected PopupControlImages Images { get; }
//
// Summary:
// Enables you to supply any server data that can then be parsed on the client.
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Description("Enables you to supply any server data that can then be parsed on the client. ")]
[Category("Client-Side")]
[Browsable(false)]
[AutoFormatDisable]
public Dictionary<string, object> JSProperties { get; }
//
// Summary:
// Gets or sets the x-coordinate of the default popup window's left side.
[DefaultValue(0)]
[Description("Gets or sets the x-coordinate of the default popup window's left side.")]
[AutoFormatDisable]
public int Left { get; set; }
//
// Summary:
// Gets an object that contains style settings to be applied to links in the
// popup control.
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Description("Gets an object that contains style settings to be applied to links in the popup control.")]
[AutoFormatEnable]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Category("Styles")]
public LinkStyle LinkStyle { get; }
protected internal PCControl MainControl { get; }
//
// Summary:
// Gets or sets whether the default popup window is modal.
[AutoFormatDisable]
[Category("Behavior")]
[DefaultValue(false)]
[Description("Gets or sets whether the default popup window is modal.")]
[Localizable(true)]
public bool Modal { get; set; }
//
// Summary:
// Gets style settings that define the appearance of the page displayed behind
// the invoked modal popup window.
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[Category("Styles")]
[AutoFormatEnable]
[PersistenceMode(PersistenceMode.InnerProperty)]
[Description("Gets style settings that define the appearance of the page displayed behind the invoked modal popup window.")]
public PopupControlModalBackgroundStyle ModalBackgroundStyle { get; }
//
// Summary:
// Gets or sets the opacity level of popup windows within the popup control.
[Description("Gets or sets the opacity level of popup windows within the popup control.")]
[Category("Appearance")]
[AutoFormatEnable]
[DefaultValue(-1)]
public int Opacity { get; set; }
//
// Summary:
// Gets or sets a value that specifies which action forces a popup window to
// appear.
[Description("Gets or sets a value that specifies which action forces a popup window to appear.")]
[AutoFormatDisable]
public PopupAction PopupAction { get; set; }
//
// Summary:
// Gets or sets the ID of a web control or HTML element with which the default
// popup window is associated.
[DefaultValue("")]
[Description("Gets or sets the ID of a web control or HTML element with which the default popup window is associated.")]
[AutoFormatDisable]
[Localizable(false)]
public string PopupElementID { get; set; }
//
// Summary:
// Gets or sets a popup window's horizontal alignment relative to the corresponding
// web control/HTML element.
[AutoFormatDisable]
[Description("Gets or sets a popup window's horizontal alignment relative to the corresponding web control/HTML element. ")]
public PopupHorizontalAlign PopupHorizontalAlign { get; set; }
//
// Summary:
// Gets or sets a popup window's horizontal offset.
[DefaultValue(0)]
[AutoFormatDisable]
[Description("Gets or sets a popup window's horizontal offset.")]
public int PopupHorizontalOffset { get; set; }
//
// Summary:
// Gets or sets a popup window's vertical alignment relative to the corresponding
// web control/HTML element.
[Description("Gets or sets a popup window's vertical alignment relative to the corresponding web control/HTML element. ")]
[AutoFormatDisable]
public PopupVerticalAlign PopupVerticalAlign { get; set; }
//
// Summary:
// Gets or sets a popup window's vertical offset.
[AutoFormatDisable]
[Description("Gets or sets a popup window's vertical offset.")]
[DefaultValue(0)]
public int PopupVerticalOffset { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether the popup control's popup windows
// are displayed above Java applets that may present on the web page.
[Description(@"Gets or sets a value that specifies whether the popup control's popup windows are displayed above <a href=""http://en.wikipedia.org/wiki/Java_applet"">Java applets that may present on the web page.")]
[Category("Behavior")]
[AutoFormatEnable]
public DevExpress.Web.ASPxClasses.DefaultBoolean RenderIFrameForPopupElements { get; set; }
protected internal PopupControlImages RenderImages { get; }
protected internal PopupControlStyles RenderStyles { get; }
//
// Summary:
// Gets or sets a value that specifies when the popup window being resized should
// be redrawn.
[AutoFormatDisable]
[Description("Gets or sets a value that specifies when the popup window being resized should be redrawn. ")]
[Category("Behavior")]
public ResizingMode ResizingMode { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether cookies are used to persist the
// visibility state and position of the popup control's windows.
[AutoFormatDisable]
[Description("Gets or sets a value that specifies whether cookies are used to persist the visibility state and position of the popup control's windows. ")]
[Category("Behavior")]
[DefaultValue(false)]
public bool SaveStateToCookies { get; set; }
//
// Summary:
// Gets or sets the name (identifier) of the cookie in which the popup control's
// state is persisted.
[Category("Behavior")]
[Description("Gets or sets the name (identifier) of the cookie in which the popup control's state is persisted.")]
[AutoFormatDisable]
[DefaultValue("")]
[Localizable(false)]
public string SaveStateToCookiesID { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether a popup window's close button
// is displayed.
[DefaultValue(true)]
[AutoFormatDisable]
[Description("Gets or sets a value that specifies whether a popup window's close button is displayed.")]
[Category("Appearance")]
public bool ShowCloseButton { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether a popup window's footer is displayed.
[Category("Appearance")]
[Description("Gets or sets a value that specifies whether a popup window's footer is displayed.")]
[AutoFormatDisable]
[DefaultValue(false)]
public bool ShowFooter { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether a popup window's header is displayed.
[Description("Gets or sets a value that specifies whether a popup window's header is displayed.")]
[Category("Appearance")]
[DefaultValue(true)]
[AutoFormatDisable]
public bool ShowHeader { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether the default popup window is automatically
// displayed when a client browser loads the page.
[Category("Behavior")]
[AutoFormatDisable]
[Description("Gets or sets a value that specifies whether the default popup window is automatically displayed when a client browser loads the page.")]
[DefaultValue(false)]
public bool ShowOnPageLoad { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether a browser's scroll bars can be
// displayed when the default popup window is shown in modal mode.
[Description("Gets or sets a value that specifies whether a browser's scroll bars can be displayed when the default popup window is shown in modal mode.")]
[Category("Behavior")]
[DefaultValue(false)]
[AutoFormatDisable]
public bool ShowPageScrollbarWhenModal { get; set; }
//
// Summary:
// Gets or sets a value that specifies whether a popup window casts a shadow.
[AutoFormatEnable]
[Category("Appearance")]
[DefaultValue(true)]
[Description("Gets or sets a value that specifies whether a popup window casts a shadow.")]
public bool ShowShadow { get; set; }
//
// Summary:
// Gets or sets the visibility of a popup window's size grip element.
[AutoFormatDisable]
[Description("Gets or sets the visibility of a popup window's size grip element.")]
[Category("Appearance")]
public ShowSizeGrip ShowSizeGrip { get; set; }
//
// Summary:
// Gets the settings of an image displayed instead of the size grip within popup
// windows.
[Description("Gets the settings of an image displayed instead of the size grip within popup windows.")]
[Category("Images")]
[AutoFormatEnable]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public ImageProperties SizeGripImage { get; }
//
// Summary:
// Gets or sets the path to a CSS file that defines the control's sprite image
// settings.
[Description("Gets or sets the path to a CSS file that defines the control's sprite image settings.")]
[Category("Images")]
[DefaultValue("")]
[Localizable(false)]
[UrlProperty]
[AutoFormatEnable]
[AutoFormatUrlProperty]
[Editor(typeof(UrlEditor), typeof(UITypeEditor))]
public string SpriteCssFilePath { get; set; }
//
// Summary:
// Gets or sets the path to a sprite image.
[UrlProperty]
[Category("Images")]
[DefaultValue("")]
[Localizable(false)]
[Description("Gets or sets the path to a sprite image.")]
[AutoFormatEnable]
[AutoFormatUrlProperty]
[Editor(typeof(UrlEditor), typeof(UITypeEditor))]
public string SpriteImageUrl { get; set; }
protected PopupControlStyles Styles { get; }
//
// Summary:
// Gets or sets a window or frame at which to target the contents of the URLs
// associated with links in a popup window's header and footer.
[Localizable(false)]
[AutoFormatDisable]
[TypeConverter(typeof(TargetConverter))]
[Description("Gets or sets a window or frame at which to target the contents of the URLs associated with links in a popup window's header and footer.")]
[DefaultValue("")]
public string Target { get; set; }
//
// Summary:
// Gets or sets the text displayed within a popup window's content region.
[Editor(typeof(MultilineStringEditor), typeof(UITypeEditor))]
[Description("Gets or sets the text displayed within a popup window's content region.")]
[Localizable(true)]
[DefaultValue("")]
[AutoFormatDisable]
public string Text { get; set; }
//
// Summary:
// Gets or sets the y-coordinate of the default popup window's top side.
[DefaultValue(0)]
[AutoFormatDisable]
[Description("Gets or sets the y-coordinate of the default popup window's top side.")]
public int Top { get; set; }
//
// Summary:
// Gets or sets a value specifying the current popup control's visibility.
[EditorBrowsable(EditorBrowsableState.Never)]
[Browsable(false)]
[AutoFormatEnable]
public override bool Visible { get; set; }
//
// Summary:
// Gets or sets a common template used to display the content region of all
// popup windows from the DevExpress.Web.ASPxPopupControl.ASPxPopupControl.Windows
// collection.
[Browsable(false)]
[DefaultValue("")]
[AutoFormatEnable]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PopupControlTemplateContainer))]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public virtual ITemplate WindowContentTemplate { get; set; }
//
// Summary:
// Gets or sets a common template used to display the footer's content of all
// popup windows from the DevExpress.Web.ASPxPopupControl.ASPxPopupControl.Windows
// collection.
[AutoFormatEnable]
[Browsable(false)]
[DefaultValue("")]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PopupControlTemplateContainer))]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public virtual ITemplate WindowFooterTemplate { get; set; }
//
// Summary:
// Gets or sets a common template used to display the header's content of all
// popup windows from the DevExpress.Web.ASPxPopupControl.ASPxPopupControl.Windows
// collection.
[AutoFormatEnable]
[Browsable(false)]
[DefaultValue("")]
[PersistenceMode(PersistenceMode.InnerProperty)]
[TemplateContainer(typeof(PopupControlTemplateContainer))]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public virtual ITemplate WindowHeaderTemplate { get; set; }
//
// Summary:
// Gets the collection of windows in the popup control.
[MergableProperty(false)]
[Description("Gets the collection of windows in the popup control.")]
[PersistenceMode(PersistenceMode.InnerProperty)]
[AutoFormatDisable]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public PopupWindowCollection Windows { get; }
// Summary:
// Enables you to save and restore the previously saved layout of the ASPxPopupControl.
public event ASPxClientLayoutHandler ClientLayout;
//
// Summary:
// Enables you to supply any server data that can then be parsed on the client.
[Category("Client-Side")]
public event CustomJSPropertiesEventHandler CustomJSProperties;
//
// Summary:
// Allows an object specified by the DevExpress.Web.ASPxPopupControl.ASPxPopupControl.PopupElementID
// property to be found manually, if it can't be found automatically ( for instance,
// if it's hidden within a naming container).
[Category("Events")]
public event EventHandler<ControlResolveEventArgs> PopupElementResolve;
//
// Summary:
// Fires when a control contained within a templated popup window raises the
// Command event.
[Category("Action")]
public event PopupControlCommandEventHandler PopupWindowCommand;
//
// Summary:
// Occurs after a popup window has been bound to a data source.
[Category("Data")]
public event PopupWindowEventHandler WindowDataBound;
protected void AddHoverItem(StateScriptRenderHelper helper, PopupWindow window);
protected override void AddHoverItems(StateScriptRenderHelper helper);
protected override void ClearControlFields();
protected CloseAction ConvertWindowCloseActionToCloseAction(WindowCloseAction windowCloseAction);
protected PopupAction ConvertWindowPopupActionToPopupAction(WindowPopupAction windowPopupAction);
protected string CorrectTemplateID(string id);
protected override ClientSideEventsBase CreateClientSideEvents();
protected override void CreateControlHierarchy();
protected override Style CreateControlStyle();
protected override ImagesBase CreateImages();
protected override StylesBase CreateStyles();
protected internal PopupControlTemplateContainer CreateTemplateContainer(PopupWindow window);
//
// Summary:
// Searches for the specified server control within specific template containers
// and the DevExpress.Web.ASPxPopupControl.ASPxPopupControl.Controls collection.
//
// Parameters:
// id:
// The identifier for the control to be found.
//
// Returns:
// A System.Web.UI.Control object representing the specified control, or the
// null reference (Nothing in Visual Basic) if the specified control does not
// exist.
public virtual Control FindControl(string id);
protected internal Control FindControlBase(string id);
protected override string GetClientObjectClassName();
protected internal string GetClientWindowID(PopupWindow window);
protected string GetCloseActionArrayScript(string localVarName);
protected internal AppearanceStyleBase GetCloseButtonHoverCssStyle(PopupWindow window);
protected internal Paddings GetCloseButtonHoverCssStylePaddings(PopupWindow window, AppearanceStyleBase selectedStyle);
protected internal AppearanceStyleBase GetCloseButtonHoverStyle(PopupWindow window);
protected internal string GetCloseButtonID(PopupWindow window);
protected internal string GetCloseButtonImageID(PopupWindow window);
protected internal CloseButtonImageProperties GetCloseButtonImageProperties(PopupWindow window);
protected internal string GetCloseButtonOnClick(PopupWindow window);
protected internal string GetCloseButtonOnMouseDown(PopupWindow window);
protected internal Paddings GetCloseButtonPaddings(PopupWindow window);
protected internal PopupWindowButtonStyle GetCloseButtonStyle(PopupWindow window);
protected internal string GetContentIFrameDivID(PopupWindow window);
protected internal string GetContentIFrameID(PopupWindow window);
protected internal virtual Paddings GetContentPaddings(PopupWindow window);
protected internal PopupWindowContentStyle GetContentStyle(PopupWindow window);
protected internal ITemplate GetContentTemplate(PopupWindow window);
protected internal string GetContentTemplateContainerID(PopupWindow window);
protected internal string GetContentText(PopupWindow window);
protected string GetContentURLArrayScript(string localVarName);
protected override void GetCreateClientObjectScript(StringBuilder stb, string localVarName, string clientName);
protected internal PopupWindowFooterStyle GetCustomFooterStyle(PopupWindow window);
protected internal PopupWindowStyle GetCustomHeaderStyle(PopupWindow window);
protected override IDictionary GetDesignModeState();
protected internal string GetFirefoxTextCursorFixDivID(PopupWindow window);
protected internal string GetFooterGripCellID(PopupWindow window);
protected internal ImageProperties GetFooterImageProperties(PopupWindow window);
protected internal virtual Unit GetFooterImageSpacing(PopupWindow window);
protected internal AppearanceStyleBase GetFooterLinkStyle(PopupWindow window);
protected internal string GetFooterNavigateUrl(PopupWindow window);
protected internal virtual Paddings GetFooterPaddings(PopupWindow window);
protected internal PopupWindowFooterStyle GetFooterStyle(PopupWindow window);
protected internal ITemplate GetFooterTemplate(PopupWindow window);
protected internal string GetFooterTemplateContainerID(PopupWindow window);
protected internal string GetFooterText(PopupWindow window);
protected internal string GetGripOnMouseDown(PopupWindow window);
protected internal ImageProperties GetHeaderImageProperties(PopupWindow window);
protected internal virtual Unit GetHeaderImageSpacing(PopupWindow window);
protected internal AppearanceStyleBase GetHeaderLinkStyle(PopupWindow window);
protected internal string GetHeaderNavigateUrl(PopupWindow window);
protected internal string GetHeaderOnMouseDown(PopupWindow window);
protected internal virtual Paddings GetHeaderPaddings(PopupWindow window);
protected internal PopupWindowStyle GetHeaderStyle(PopupWindow window);
protected internal ITemplate GetHeaderTemplate(PopupWindow window);
protected internal string GetHeaderTemplateContainerID(PopupWindow window);
protected internal string GetHeaderText(PopupWindow window);
protected string GetHeightArrayScript(string localVarName);
protected bool GetIsArrayScriptTrivial(IEnumerable items, object defaultValue);
protected string GetIsDraggedArrayScript(string localVarName);
protected string GetIsResizedArrayScript(string localVarName);
protected string GetLeftArrayScript(string localVarName);
protected override Type GetLicenseType();
protected internal AppearanceStyleBase GetModalBackgroundStyle();
protected string GetPopupActionArrayScript(string localVarName);
protected string GetPopupElementIDArrayScript(string localVarName);
protected internal string GetPopupWindowContentCellID(PopupWindow window);
protected internal string GetPopupWindowFooterCellID(PopupWindow window);
protected internal string GetPopupWindowFooterImageCellID(PopupWindow window);
protected internal string GetPopupWindowFooterTextCellID(PopupWindow window);
protected internal string GetPopupWindowHeaderCellID(PopupWindow window);
protected internal string GetPopupWindowHeaderImageCellID(PopupWindow window);
protected internal string GetPopupWindowHeaderTextCellID(PopupWindow window);
protected internal string GetPopupWindowID(PopupWindow window);
protected internal string GetPopupWindowIFrameElementID(PopupWindow window);
protected internal string GetPopupWindowModalElementID(PopupWindow window);
protected string GetPopupWindowNameArrayScript(string localVarName);
protected internal string GetPopupWindowShadowTableID(PopupWindow window);
protected internal string GetPreventOnDragStart();
protected string GetShowOnPageLoadArrayScript(string localVarName);
protected internal bool GetShowWindowCloseButton(PopupWindow window);
protected internal ImageProperties GetSizeGripImageProperties(PopupWindow window);
protected internal virtual Paddings GetSizeGripPaddings(PopupWindow window);
protected internal virtual Unit GetSizeGripSpacing(PopupWindow window);
protected override IStateManager[] GetStateManagedObjects();
protected internal string GetTarget(PopupWindow window);
protected internal string GetToolTip(PopupWindow window);
protected string GetTopArrayScript(string localVarName);
protected string GetWidthArrayScript(string localVarName);
protected CloseAction GetWindowCloseAction(PopupWindow window);
protected internal virtual Unit GetWindowHeight(PopupWindow window);
protected internal string GetWindowOnMouseDown(PopupWindow window);
protected internal string GetWindowOnMouseMove(PopupWindow window);
protected internal string GetWindowOnResize(PopupWindow window);
protected PopupAction GetWindowPopupAction(PopupWindow window);
protected string GetWindowsStateHiddenFieldName();
protected internal virtual Unit GetWindowWidth(PopupWindow window);
protected string GetzIndexArrayScript(string localVarName);
protected override bool HasContent();
//
// Summary:
// Returns a value that specifies whether the current popup control represents
// the default popup window.
//
// Returns:
// true if the popup control's DevExpress.Web.ASPxPopupControl.ASPxPopupControl.Windows
// collection is empty; otherwise, false.
public virtual bool HasDefaultWindow();
protected override bool HasFunctionalityScripts();
protected internal bool HasHeaderFooterElementsCellIDs();
protected override bool HasHoverScripts();
//
// Summary:
// Specifies whether the control's popup windows display the size grip.
//
// Returns:
// true if popup windows have the size grip; otherwise, false.
public virtual bool HasSizeGrip();
protected virtual bool HideBodyScrollWhenModal();
protected internal bool IsFooterVisible(PopupWindow window);
protected internal virtual bool IsHeaderDragging(PopupWindow window);
protected internal bool IsHeaderVisible(PopupWindow window);
protected virtual bool IsSSLSecureBlankUrlRequired();
protected internal virtual bool IsWindowDragging();
protected override void LoadClientState(string state);
protected void LoadDefaultWindowState(string state);
protected override bool LoadPostData(NameValueCollection postCollection);
protected override void LoadViewState(object savedState);
protected virtual bool LoadWindowsState(string state);
protected void LoadWindowState(PopupWindow window, string state);
protected override bool NeedCreateHierarchyOnInit();
protected override bool NeedLoadClientState();
protected override bool OnBubbleEvent(object source, EventArgs e);
protected override void OnDataBinding(EventArgs e);
protected void OnPopupElementResolve(ControlResolveEventArgs e);
protected virtual void OnPopupWindowCommand(PopupControlCommandEventArgs e);
protected virtual void OnWindowDataBound(PopupWindowEventArgs e);
protected internal override void PerformDataBinding(string dataHelperName, IEnumerable dataSource);
protected override void PrepareControlStyle(AppearanceStyleBase style);
protected void RegisterHeaderFooterLinkStyles(string windowID);
protected override void RegisterHiddenFields();
protected override void RegisterIncludeScripts();
protected override void RegisterLinkStyles();
protected override string SaveClientState();
protected string SaveWindowsState();
protected string SaveWindowState(PopupWindow window);
protected internal void WindowsChanged();
}
} |
Partager