예제 #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
 /// <summary>
 /// Add a flex component to the Box component.
 /// </summary>
 /// <param name="self">BoxComponent</param>
 /// <param name="component">Flex Component</param>
 /// <returns>BoxComponent</returns>
 public static BoxComponent AddContents(this BoxComponent self, IFlexComponent component)
 {
     self.Contents.Add(component);
     return(self);
 }