コード例 #1
0
 /// <summary>
 /// Sets a BoxComponent to the BubbleContainer body
 /// </summary>
 /// <param name="self">BubbleContainer</param>
 /// <param name="body">Box Component</param>
 /// <returns>BubbleContainer</returns>
 public static BubbleContainer SetBody(this BubbleContainer self, BoxComponent body)
 {
     self.Body = body;
     return(self);
 }
コード例 #2
0
 /// <summary>
 /// Sets a BoxComponent to the BubbleContainer header
 /// </summary>
 /// <param name="self">BubbleContainer</param>
 /// <param name="header">BoxComponent</param>
 /// <returns>BubbleContainer</returns>
 public static BubbleContainer SetHeader(this BubbleContainer self, BoxComponent header)
 {
     self.Header = header;
     return(self);
 }
コード例 #3
0
 /// <summary>
 /// Sets a BoxComponent to the BubbleContainer footer
 /// </summary>
 /// <param name="self">BubbleContainer</param>
 /// <param name="footer">BoxComponent</param>
 /// <returns>BubbleContainer</returns>
 public static BubbleContainer SetFooter(this BubbleContainer self, BoxComponent footer)
 {
     self.Footer = footer;
     return(self);
 }
コード例 #4
0
 public static BoxComponent AddContents(this BoxComponent self, IFlexComponent component)
 {
     self.Contents.Add(component);
     return(self);
 }