GridLengthHelper.FromPixels(Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new GridLength value based on a fixed number of pixels. C# and Microsoft Visual Basic code should use the GridLength(Double) constructor instead.
public:
static GridLength FromPixels(double pixels);
static GridLength FromPixels(double const& pixels);
public static GridLength FromPixels(double pixels);
function fromPixels(pixels)
Public Shared Function FromPixels (pixels As Double) As GridLength
Parameters
- pixels
-
Double
double
The pixel height or width to specify.
Returns
The created GridLength.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro