예제 #1
0
 public IEnumerable <string> BuildCssClasses(Breakpoint breakpoint)
 {
     if (Direction != null)
     {
         yield return(Direction.BuildCssClass(breakpoint));
     }
     if (JustifyContent != FlexJustifyContent.None)
     {
         yield return(JustifyContent.ToCssClass(breakpoint));
     }
     if (ItemsAlignment != FlexAlignment.None)
     {
         yield return(ItemsAlignment.ToCssClass(FlexAlignmentScope.Items, breakpoint));
     }
     if (Wrap != null)
     {
         yield return(Wrap.BuildCssClass(breakpoint));
     }
     if (ContentAlignment != FlexContentAlignment.None)
     {
         yield return(ContentAlignment.ToCssClass(breakpoint));
     }
 }
예제 #2
0
 public string FieldJustifyContent(JustifyContent justifyContent) => null;
예제 #3
0
 public virtual string FieldJustifyContent(JustifyContent justifyContent) => JustifyContent(justifyContent);
예제 #4
0
 public override string FieldJustifyContent(JustifyContent justifyContent) => ToJustifyContent(justifyContent);
예제 #5
0
 public abstract string FieldJustifyContent(JustifyContent justifyContent);
예제 #6
0
 private void Set(JustifyContent value)
 {
     SetState(state => state.JustifyContent = value);
 }