Example #1
0
 protected override void RenderAttributes(XElement element, FoRenderOptions options)
 {
     base.RenderAttributes(element, options);
     if (Id.HasValue())
     {
         element.Add(new XAttribute("id", Id));
     }
     if (IndexClass.HasValue())
     {
         element.Add(new XAttribute("index-class", IndexClass));
     }
     if (IndexKey.HasValue())
     {
         element.Add(new XAttribute("index-key", IndexKey));
     }
     if (FlowName.HasValue())
     {
         element.Add(new XAttribute("flow-name", FlowName));
     }
 }