// Token: 0x060023D1 RID: 9169 RVA: 0x000CE588 File Offset: 0x000CC788
 protected override void InternalRenderData(TextWriter writer)
 {
     base.InternalRenderData(writer);
     VirtualListView2.RenderAttribute(writer, "iUC", base.Contents.DataSource.UnreadCount);
     VirtualListView2.RenderAttribute(writer, "fCV", this.IsConversationView ? 1 : 0);
     VirtualListView2.RenderAttribute(writer, "fFUR", this.IsFilteredByUnread ? 1 : 0);
 }
Exemple #2
0
 private void InternalRenderChunk(TextWriter writer, bool error, string errorFlag, Strings.IDs?errorString)
 {
     writer.Write("<div id=\"divChnk\" class=\"vlvChnk\"");
     if (!error)
     {
         VirtualListView2.RenderAttribute(writer, "iSR", this.contents.DataSource.StartRange);
         VirtualListView2.RenderAttribute(writer, "iER", this.contents.DataSource.EndRange);
     }
     else if (!string.IsNullOrEmpty(errorFlag))
     {
         VirtualListView2.RenderAttribute(writer, errorFlag, 1);
     }
     writer.Write(">");
     if (!error)
     {
         this.contents.RenderForVirtualListView(writer);
     }
     else if (errorString != null)
     {
         writer.Write("<div id=\"divNI\">");
         writer.Write(LocalizedStrings.GetHtmlEncoded(errorString.Value));
         writer.Write("</div>");
     }
     writer.Write("</div>");
 }
 // Token: 0x06001DE3 RID: 7651 RVA: 0x000AD3E0 File Offset: 0x000AB5E0
 protected override void InternalRenderData(TextWriter writer)
 {
     base.InternalRenderData(writer);
     if (!this.IsContactView)
     {
         VirtualListView2.RenderAttribute(writer, "sCki", this.Cookie);
         VirtualListView2.RenderAttribute(writer, "iLcid", this.CookieLcid);
         VirtualListView2.RenderAttribute(writer, "sPfdDC", this.PreferredDC);
     }
 }
Exemple #4
0
 protected virtual void InternalRenderData(TextWriter writer)
 {
     VirtualListView2.RenderAttribute(writer, "iTC", this.contents.DataSource.TotalCount);
     VirtualListView2.RenderAttribute(writer, "iTIC", this.contents.DataSource.TotalItemCount);
     VirtualListView2.RenderAttribute(writer, "sDataFId", this.contents.DataSource.ContainerId);
     if (this.IsSearchInProgress())
     {
         VirtualListView2.RenderAttribute(writer, "fSrchInProg", 1);
     }
     if (this.forceRefresh)
     {
         VirtualListView2.RenderAttribute(writer, "fR", 1);
     }
 }
Exemple #5
0
 public void Render(TextWriter writer)
 {
     this.OnBeforeRender();
     writer.Write("<div");
     VirtualListView2.RenderAttribute(writer, "id", this.id);
     VirtualListView2.RenderAttribute(writer, "class", "absFill");
     VirtualListView2.RenderAttribute(writer, "iT", (int)this.ViewType);
     VirtualListView2.RenderAttribute(writer, "sEvtNS", this.OehNamespace);
     VirtualListView2.RenderAttribute(writer, "sSid", this.contents.DataSource.ContainerId);
     VirtualListView2.RenderAttribute(writer, "fML", this.IsMultiLine ? 1 : 0);
     VirtualListView2.RenderAttribute(writer, "iSC", (int)this.sortedColumn);
     VirtualListView2.RenderAttribute(writer, "iSO", (int)this.sortOrder);
     VirtualListView2.RenderAttribute(writer, "iTC", this.contents.DataSource.TotalCount);
     VirtualListView2.RenderAttribute(writer, "iTIC", this.contents.DataSource.TotalItemCount);
     VirtualListView2.RenderAttribute(writer, "iNsDir", (int)this.userContext.UserOptions.NextSelection);
     VirtualListView2.RenderAttribute(writer, "sPbPrps", this.publicProperties.ToString());
     VirtualListView2.RenderAttribute(writer, "fTD", ListViewColumns.GetColumn(this.sortedColumn).IsTypeDownCapable ? 1 : 0);
     VirtualListView2.RenderAttribute(writer, "L_BigSel", LocalizedStrings.GetNonEncoded(719114324));
     VirtualListView2.RenderAttribute(writer, "L_Ldng", LocalizedStrings.GetNonEncoded(-695375226));
     VirtualListView2.RenderAttribute(writer, "L_Srchng", LocalizedStrings.GetNonEncoded(-1057914178));
     VirtualListView2.RenderAttribute(writer, "L_Fltrng", LocalizedStrings.GetNonEncoded(320310349));
     foreach (string text in this.extraAttributes.Keys)
     {
         VirtualListView2.RenderAttribute(writer, text, this.extraAttributes[text]);
     }
     writer.Write(">");
     this.RenderHeaders(writer);
     writer.Write("<a href=\"#\" id=\"linkVLV\" class=\"offscreen\">&nbsp;</a>");
     writer.Write("<div id=\"divHeaderSpacer\">&nbsp;</div>");
     if (this.HasInlineControl)
     {
         this.RenderInlineControl(writer);
     }
     writer.Write("<div id=\"divList\"");
     this.RenderListViewClasses(writer);
     writer.Write(">");
     writer.Write("<div id=\"divViewport\" draggable=\"true\">");
     this.RenderChunk(writer);
     writer.Write("</div>");
     writer.Write("<div id=\"divScrollbar\"><div id=\"divScrollRegion\"></div></div>");
     writer.Write("</div>");
     writer.Write("<div id=\"divPrgBg\" style=\"display:none\"></div><div id=\"divPrgrs\" style=\"display:none\"><img src=\"");
     this.userContext.RenderThemeFileUrl(writer, ThemeFileId.ProgressSmall);
     writer.Write("\"><span id=\"spnTxt\"></span></div>");
     writer.Write("</div>");
 }