Dela via


Utility.CalculateGridLength Method (String, String)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Creates a XAML GridLength object giving a string value an type defining the value. See .NET documentation for GridLength for more information

Namespace:   Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly:  Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Syntax

public static GridLength CalculateGridLength(
    string num,
    string type
)
Public Shared Function CalculateGridLength (
    num As String,
    type As String
) As GridLength

Parameters

  • num
    Type: System.String

    Specifies the number. The meaning of this number depends on the type.

  • type
    Type: System.String

    Specifies the type: Auto, Pixel, or Star.

Return Value

Type: System.Windows.GridLength

GridLength value

See Also

Utility Class
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright