Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
380 lines (370 sloc) 19.7 KB
<Type Name="Margins" FullName="System.Web.UI.DataVisualization.Charting.Margins">
<TypeSignature Language="C#" Value="public class Margins" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit Margins extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.DataVisualization.Charting.Margins" />
<TypeSignature Language="VB.NET" Value="Public Class Margins" />
<TypeSignature Language="C++ CLI" Value="public ref class Margins" />
<TypeSignature Language="F#" Value="type Margins = class" />
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Web.UI.DataVisualization.Charting.MarginExpandableObjectConverter))</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents the margins for various chart elements.</summary>
<remarks>To be added.</remarks>
</Docs>
<Members>
<MemberGroup MemberName=".ctor">
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.DataVisualization.Charting.Margins" /> class.</summary>
</Docs>
</MemberGroup>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Margins ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.Margins.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; Margins();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.DataVisualization.Charting.Margins" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Margins (int top, int bottom, int left, int right);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(int32 top, int32 bottom, int32 left, int32 right) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.Margins.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)" />
<MemberSignature Language="VB.NET" Value="Public Sub New (top As Integer, bottom As Integer, left As Integer, right As Integer)" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; Margins(int top, int bottom, int left, int right);" />
<MemberSignature Language="F#" Value="new System.Web.UI.DataVisualization.Charting.Margins : int * int * int * int -&gt; System.Web.UI.DataVisualization.Charting.Margins" Usage="new System.Web.UI.DataVisualization.Charting.Margins (top, bottom, left, right)" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
</Attributes>
<Parameters>
<Parameter Name="top" Type="System.Int32" />
<Parameter Name="bottom" Type="System.Int32" />
<Parameter Name="left" Type="System.Int32" />
<Parameter Name="right" Type="System.Int32" />
</Parameters>
<Docs>
<param name="top">Top margin.</param>
<param name="bottom">Bottom margin.</param>
<param name="left">Left margin.</param>
<param name="right">Right margin.</param>
<summary>Initializes a new instance of the <see cref="T:System.Web.UI.DataVisualization.Charting.Margins" /> class with the specified top, bottom, left and right coordinates of the margin.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When used for legend cells, the margins are measured as a percentage of the legend's font size.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Bottom">
<MemberSignature Language="C#" Value="public int Bottom { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Bottom" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.DataVisualization.Charting.Margins.Bottom" />
<MemberSignature Language="VB.NET" Value="Public Property Bottom As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property int Bottom { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.Bottom : int with get, set" Usage="System.Web.UI.DataVisualization.Charting.Margins.Bottom" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the bottom margin.</summary>
<value>An <see langword="integer" /> value. The default value is 0.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When used for legend cells, the margins are measured as a percentage of the legend's font size.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance bool Equals(object obj) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.Margins.Equals(System.Object)" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function Equals (obj As Object) As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override bool Equals(System::Object ^ obj);" />
<MemberSignature Language="F#" Value="override this.Equals : obj -&gt; bool" Usage="margins.Equals obj" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" />
</Parameters>
<Docs>
<param name="obj">The object to compare with the current object.</param>
<summary>Determines whether the specified object is equal to the current object.</summary>
<returns>
<see langword="true" /> if the specified object is equal to the current object; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance int32 GetHashCode() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.Margins.GetHashCode" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function GetHashCode () As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override int GetHashCode();" />
<MemberSignature Language="F#" Value="override this.GetHashCode : unit -&gt; int" Usage="margins.GetHashCode " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Gets the hash code for the <see cref="T:System.Web.UI.DataVisualization.Charting.Margins" /> object.</summary>
<returns>An <see langword="integer" /> value that represents the hash code for a <see cref="T:System.Web.UI.DataVisualization.Charting.Margins" /> object.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="IsEmpty">
<MemberSignature Language="C#" Value="public bool IsEmpty ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance bool IsEmpty() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.Margins.IsEmpty" />
<MemberSignature Language="VB.NET" Value="Public Function IsEmpty () As Boolean" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; bool IsEmpty();" />
<MemberSignature Language="F#" Value="member this.IsEmpty : unit -&gt; bool" Usage="margins.IsEmpty " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Determines whether the margins are empty.</summary>
<returns>
<see langword="true" /> if all margins values are zero; otherwise, <see langword="false" />.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Left">
<MemberSignature Language="C#" Value="public int Left { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Left" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.DataVisualization.Charting.Margins.Left" />
<MemberSignature Language="VB.NET" Value="Public Property Left As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property int Left { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.Left : int with get, set" Usage="System.Web.UI.DataVisualization.Charting.Margins.Left" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the left margin.</summary>
<value>An <see langword="integer" /> value. The default value is 0.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When used for legend cells, the margins are measured as a percentage of the legend's font size.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Right">
<MemberSignature Language="C#" Value="public int Right { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Right" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.DataVisualization.Charting.Margins.Right" />
<MemberSignature Language="VB.NET" Value="Public Property Right As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property int Right { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.Right : int with get, set" Usage="System.Web.UI.DataVisualization.Charting.Margins.Right" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the right margin.</summary>
<value>An <see langword="integer" /> value. The default value is 0.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When used for legend cells, the margins are measured as a percentage of the legend's font size.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Top">
<MemberSignature Language="C#" Value="public int Top { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance int32 Top" />
<MemberSignature Language="DocId" Value="P:System.Web.UI.DataVisualization.Charting.Margins.Top" />
<MemberSignature Language="VB.NET" Value="Public Property Top As Integer" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; property int Top { int get(); void set(int value); };" />
<MemberSignature Language="F#" Value="member this.Top : int with get, set" Usage="System.Web.UI.DataVisualization.Charting.Margins.Top" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName>get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the top margin.</summary>
<value>An <see langword="integer" /> value. The default value is 0.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When used for legend cells, the margins are measured as a percentage of the legend's font size.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ToRectangleF">
<MemberSignature Language="C#" Value="public System.Drawing.RectangleF ToRectangleF ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance valuetype System.Drawing.RectangleF ToRectangleF() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.Margins.ToRectangleF" />
<MemberSignature Language="VB.NET" Value="Public Function ToRectangleF () As RectangleF" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; System::Drawing::RectangleF ToRectangleF();" />
<MemberSignature Language="F#" Value="member this.ToRectangleF : unit -&gt; System.Drawing.RectangleF" Usage="margins.ToRectangleF " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.RectangleF</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Converts a <see cref="T:System.Web.UI.DataVisualization.Charting.Margins" /> object to a <see cref="T:System.Drawing.RectangleF" /> object.</summary>
<returns>A <see cref="T:System.Drawing.RectangleF" /> object that has margins.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig virtual instance string ToString() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.UI.DataVisualization.Charting.Margins.ToString" />
<MemberSignature Language="VB.NET" Value="Public Overrides Function ToString () As String" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; override System::String ^ ToString();" />
<MemberSignature Language="F#" Value="override this.ToString : unit -&gt; string" Usage="margins.ToString " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Converts a <see cref="T:System.Web.UI.DataVisualization.Charting.Margins" /> object to its <see langword="string" /> representation.</summary>
<returns>A <see langword="string" /> value that represents this object.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.