コード例 #1
0
 public void ConsumeInstruction(FlowLayoutInstruction instruction)
 {
     if (instruction == FlowLayoutInstruction.Linebreak)
     {
         if (HasRoomForAnotherRow(LayoutNode.NamelessLeaf(LayoutSize.Pixels(0, 0))))
         {
             AddNewRow();
         }
     }
 }
コード例 #2
0
 public LayoutNodeOrInstruction(FlowLayoutInstruction flowInstruction)
 {
     InternalInstruction = flowInstruction;
 }