
690
|
Chapter 37: The System.Web.UI.Design Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Implemented By
System.Web.UI.Design.WebControls.{BaseDataListDesigner, ListControlDesigner,
RepeaterDesigner}
IHtmlControlDesignerBehavior
System.Web.UI.Design (system.design.dll)
interface
This class defines an interface that enables the extension of specific behaviors of an
HTML control designer.
Returned By
HtmlControlDesigner.Behavior
Passed To
HtmlControlDesigner.Behavior
ImageUrlEditor
System.Web.UI.Design (system.design.dll)
class
This class provides a System.Drawing.Design.UITypeEditor that can be used when modifying
properties that correspond to Internet URLs. This class extends on the basic UrlEditor
class and is customized for creating URLs that point to image files. The differences are
minor: the Filter property is overridden to provide the “*.gif; *.jpg; *.jpeg; *.bmp; *.wmf;
*.png” file filter, and the Caption of the designer window is modified to “Select Image
File.” This class is used, for example, by the ImageUrl property of the System.Web.UI.WebCon-
trols.HyperLink control.
Hierarchy
System.Object ➝ System.Drawing.Design.UITypeEditor ➝ UrlEditor ➝ ImageUrlEditor
public IEnumerable GetResolvedSelectedDataSource();
public object GetSelectedDataSource();
}
public interface IHtmlControlDesignerBehavior {
// Public Instance Properties ...