Performs vector addition on the two specified System.Windows.Forms.Padding objects, resulting in a new System.Windows.Forms.Padding.
- p1
- The first System.Windows.Forms.Padding to add.
- p2
- The second System.Windows.Forms.Padding to add.
A new System.Windows.Forms.Padding that results from adding p1 and p2.
A vector addition operation is the result of adding the padding values for each edge. For example, the Padding.Left property of the result is the sum of the Padding.Left properties of the two operands.
This operation is transitive.