}
- WebPartVerbCollection verbs;
+ WebPartVerbCollection verbs = new WebPartVerbCollection();
Allow allow;
string auth_filter;
string catalog_icon_url;
+ WebPartExportMode exportMode = WebPartExportMode.None;
+ string titleIconImageUrl,
+ titleUrl,
+ helpUrl;
+ bool isStatic, hidden, isClosed, hasSharedData, hasUserData;
+ WebPartHelpMode helpMode = WebPartHelpMode.Navigate;
+ int zoneIndex ;
protected WebPart ()
{
allow = Allow.Close | Allow.Connect | Allow.Edit | Allow.Hide | Allow.Minimize | Allow.ZoneChange;
auth_filter = "";
catalog_icon_url = "";
+ titleIconImageUrl = string.Empty;
+ titleUrl = string.Empty;
+ helpUrl = string.Empty;
+ isStatic = false;
+ hasUserData = false;
+ hasSharedData = false;
+ hidden = false;
+ isClosed = false;
}
#if IWebEditableInterface
public virtual WebPartExportMode ExportMode
{
get {
- throw new NotImplementedException ();
+ return exportMode;
}
set {
- throw new NotImplementedException ();
+ exportMode = value;
}
}
public bool HasSharedData
{
get {
- throw new NotImplementedException ();
+ return hasSharedData;
}
}
public bool HasUserData
{
get {
- throw new NotImplementedException ();
+ return hasUserData;
}
}
public virtual WebPartHelpMode HelpMode
{
get {
- throw new NotImplementedException ();
+ return helpMode;
}
set {
- throw new NotImplementedException ();
+ helpMode = value;
}
}
public virtual string HelpUrl
{
get {
- throw new NotImplementedException ();
+ return helpUrl;
}
set {
- throw new NotImplementedException ();
+ helpUrl = value;
}
}
public virtual bool Hidden
{
get {
- throw new NotImplementedException ();
+ return hidden;
}
set {
- throw new NotImplementedException ();
+ hidden = value;
}
}
public bool IsClosed
{
get {
- throw new NotImplementedException ();
+ return isClosed;
}
}
public bool IsStatic
{
get {
- throw new NotImplementedException ();
+ return isStatic;
}
}
public virtual string Subtitle
{
get {
- throw new NotImplementedException ();
+ return string.Empty;
}
}
public virtual string TitleIconImageUrl
{
get {
- throw new NotImplementedException ();
+ return titleIconImageUrl;
}
set {
- throw new NotImplementedException ();
+ titleIconImageUrl = value;
}
}
public virtual string TitleUrl
{
get {
- throw new NotImplementedException ();
+ return titleUrl;
}
set {
- throw new NotImplementedException ();
+ titleUrl = value;
}
}
public int ZoneIndex
{
get {
- throw new NotImplementedException ();
+ return zoneIndex;
}
}
}