System windows forms systeminformation

System Information. Computer Name Свойство

Определение

Возвращает имя NetBIOS локального компьютера. Gets the NetBIOS computer name of the local computer.

Значение свойства

Имя этого компьютера. The name of this computer.

Примеры

В следующем примере кода перечисляются все свойства SystemInformation класса в ListBox и отображается текущее значение свойства в, TextBox когда выбран элемент списка. The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

Комментарии

ComputerNameСвойство получает NetBIOS-имя локального компьютера. The ComputerName property retrieves the NetBIOS name of the local computer. Это достигается при вызове встроенной функции системной информации GetComputerName. This is accomplished with a call into the native System Information function GetComputerName. Это имя устанавливается при запуске системы, когда система считывает его из реестра. This name is established at system startup, when the system reads it from the registry. Если локальный компьютер является узлом кластера, ComputerName возвращает имя виртуального сервера кластера. If the local computer is a node in a cluster, ComputerName returns the name of the cluster virtual server.

С помощью метода можно ComputerName определить имя компьютера, который отображается для других пользователей в сети. You can use the ComputerName method to determine the name of the computer that is displayed to other users on a network.

System Information Class

Definition

Provides information about the current system environment.

Examples

The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

Remarks

The SystemInformation class provides static properties that can be used to get information about the current system environment. The class provides access to information such as Windows display element sizes, operating system settings, network availability, and the capabilities of hardware installed on the system. This class cannot be instantiated.

For more information about system-wide parameters, see SystemParametersInfo.

Properties

Gets the active window tracking delay.

Gets a value that indicates the direction in which the operating system arranges minimized windows.

Gets an ArrangeStartingPosition value that indicates the starting position from which the operating system arranges minimized windows.

Gets a BootMode value that indicates the boot mode the system was started in.

Gets the thickness, in pixels, of a three-dimensional (3-D) style window or system control border.

Gets the border multiplier factor that is used when determining the thickness of a window’s sizing border.

Gets the thickness, in pixels, of a flat-style window or system control border.

Gets the standard size, in pixels, of a button in a window’s title bar.

Gets the height, in pixels, of the standard title bar area of a window.

Gets the caret blink time.

Gets the width, in pixels, of the caret in edit controls.

Gets the NetBIOS computer name of the local computer.

Gets the maximum size, in pixels, that a cursor can occupy.

Gets a value indicating whether the operating system is capable of handling double-byte character set (DBCS) characters.

Gets a value indicating whether the debug version of USER.EXE is installed.

Gets the dimensions, in pixels, of the area within which the user must click twice for the operating system to consider the two clicks a double-click.

Gets the maximum number of milliseconds that can elapse between a first click and a second click for the OS to consider the mouse action a double-click.

Gets a value indicating whether the user has enabled full window drag.

Gets the width and height of a rectangle centered on the point the mouse button was pressed, within which a drag operation will not begin.

Gets the thickness, in pixels, of the frame border of a window that has a caption and is not resizable.

Gets the font smoothing contrast value used in ClearType smoothing.

Gets the current type of font smoothing.

Gets the thickness, in pixels, of the resizing border that is drawn around the perimeter of a window that is being drag resized.

Gets a value indicating whether the user has enabled the high-contrast mode accessibility feature.

Gets the thickness of the left and right edges of the system focus rectangle, in pixels.

Gets the thickness of the left and right edges of the sizing border around the perimeter of a window being resized, in pixels.

Gets the width, in pixels, of the arrow bitmap on the horizontal scroll bar.

Gets the default height, in pixels, of the horizontal scroll bar.

Gets the width, in pixels, of the scroll box in a horizontal scroll bar.

Gets the width, in pixels, of an icon arrangement cell in large icon view.

Gets the dimensions, in pixels, of the Windows default program icon size.

Gets the size, in pixels, of the grid square used to arrange icons in a large-icon view.

Gets the height, in pixels, of an icon arrangement cell in large icon view.

Gets a value indicating whether active window tracking is enabled.

Gets a value indicating whether the slide-open effect for combo boxes is enabled.

Gets a value indicating whether the drop shadow effect is enabled.

Gets a value indicating whether native user menus have a flat menu appearance.

Gets a value indicating whether font smoothing is enabled.

Gets a value indicating whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled.

Gets a value indicating whether icon-title wrapping is enabled.

Gets a value indicating whether the user relies on the keyboard instead of the mouse, and prefers applications to display keyboard interfaces that would otherwise be hidden.

Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled.

Gets a value indicating whether menu fade or slide animation features are enabled.

Gets a value indicating whether menu fade animation is enabled.

Gets a value indicating whether window minimize and restore animation is enabled.

Gets a value indicating whether the selection fade effect is enabled.

Gets a value indicating whether the snap-to-default-button feature is enabled.

Gets a value indicating whether the gradient effect for window title bars is enabled.

Gets a value indicating whether ToolTip animation is enabled.

Gets the height, in pixels, of the Kanji window at the bottom of the screen for double-byte character set (DBCS) versions of Windows.

Gets the keyboard repeat-delay setting.

Gets the keyboard repeat-speed setting.

Gets the default maximum dimensions, in pixels, of a window that has a caption and sizing borders.

Gets a value indicating whether menu access keys are always underlined.

Gets the default width, in pixels, for menu-bar buttons and the height, in pixels, of a menu bar.

Gets the default dimensions, in pixels, of menu-bar buttons.

Gets the dimensions, in pixels, of the default size of a menu check mark area.

Gets the font used to display text on menus.

Gets the height, in pixels, of one line of a menu.

Gets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when the mouse cursor is over a submenu item.

Gets a value indicating whether the operating system is enabled for the Hebrew and Arabic languages.

Gets the dimensions, in pixels, of a normal minimized window.

Gets the dimensions, in pixels, of the area each minimized window is allocated when arranged.

Gets the minimum width and height for a window, in pixels.

Gets the default minimum dimensions, in pixels, that a window may occupy during a drag resize.

Gets the number of display monitors on the desktop.

Gets a value indicating whether all the display monitors are using the same pixel color format.

Читайте также:  Пакет драйверы для линукса

Gets the number of buttons on the mouse.

Gets a value indicating whether the functions of the left and right mouse buttons have been swapped.

Gets the dimensions, in pixels, of the rectangle within which the mouse pointer has to stay for the mouse hover time before a mouse hover message is generated.

Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mouse hover message is generated.

Gets a value indicating whether a pointing device is installed.

Gets the current mouse speed.

Gets a value indicating whether a mouse with a mouse wheel is installed.

Gets the amount of the delta value of a single mouse wheel rotation increment.

Gets the number of lines to scroll when the mouse wheel is rotated.

Gets a value indicating whether a mouse with a mouse wheel is installed.

Gets a value indicating whether a network connection is present.

Gets a value indicating whether the Microsoft Windows for Pen Computing extensions are installed.

Gets the side of pop-up menus that are aligned to the corresponding menu-bar item.

Gets the current system power status.

Gets the default dimensions, in pixels, of a maximized window on the primary display.

Gets the dimensions, in pixels, of the current video mode of the primary display.

Gets a value indicating whether drop-down menus are right-aligned with the corresponding menu-bar item.

Gets the orientation of the screen.

Gets a value indicating whether a Security Manager is present on this operating system.

Gets a value indicating whether the user prefers that an application present information in visual form in situations when it would present the information in audible form.

Gets the width, in pixels, of the sizing border drawn around the perimeter of a window being resized.

Gets the width, in pixels, of small caption buttons, and the height, in pixels, of small captions.

Gets the dimensions, in pixels, of a small icon.

Gets a value indicating whether the calling process is associated with a Terminal Services client session.

Gets the dimensions, in pixels, of small caption buttons.

Gets the height, in pixels, of a tool window caption.

Gets a value indicating whether user interface (UI) effects are enabled or disabled.

Gets the name of the domain the user belongs to.

Gets a value indicating whether the current process is running in user-interactive mode.

Gets the user name associated with the current thread.

Gets the thickness, in pixels, of the top and bottom edges of the system focus rectangle.

Gets the thickness, in pixels, of the top and bottom edges of the sizing border around the perimeter of a window being resized.

Gets the height, in pixels, of the arrow bitmap on the vertical scroll bar.

Gets the height, in pixels, of the scroll box in a vertical scroll bar.

Gets the default width, in pixels, of the vertical scroll bar.

Gets the bounds of the virtual screen.

Gets the size, in pixels, of the working area of the screen.

Methods

Gets the thickness, in pixels, of a flat-style window or system control border for a given DPI value.

Gets the width of the horizontal scroll bar arrow bitmap in pixels.

Gets the default height, in pixels, of the horizontal scroll bar for a given DPI value.

Gets the font used to display text on menus for use in changing the DPI for a given display device.

Gets the default height, in pixels, of the vertical scroll bar for a given DPI value.

Gets the height of the vertical scroll bar arrow bitmap in pixels.

System Information. Drag Size Свойство

Определение

Возвращает ширину и высоту прямоугольника с центром в точке, в которой была нажата кнопка мыши, и в пределах которой еще не будет запущена операция перетаскивания. Gets the width and height of a rectangle centered on the point the mouse button was pressed, within which a drag operation will not begin.

Значение свойства

Объект Size, который задает размеры (в пикселях) прямоугольной области с центром в точке, в которой была нажата кнопка мыши и в пределах которой еще не будет запущена операция перетаскивания. A Size that specifies the area of a rectangle, in pixels, centered on the point the mouse button was pressed, within which a drag operation will not begin.

Примеры

В следующем примере кода перечисляются все свойства SystemInformation класса в ListBox и отображается текущее значение свойства в, TextBox когда выбран элемент списка. The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

Комментарии

DragSizeСвойство указывает размер (в пикселях) прямоугольника, который располагается вокруг точки, в которой была нажата кнопка мыши. The DragSize property indicates the size, in pixels, of a rectangle centered around the point at which the mouse button was pressed. Windows использует прямоугольник в качестве границы, в рамках которой он не начинает операцию перетаскивания. Windows uses the rectangle as a boundary within which it does not start a drag operation.

Пользователь может удерживать кнопку мыши вниз и переместить указатель мыши в эту область до начала операции перетаскивания, что позволяет пользователю нажать и отпустить кнопку мыши без непреднамеренного запуска операции перетаскивания. A user can hold a mouse button down and move the mouse within this area before a drag operation begins, which enables the user to click and release the mouse button easily without unintentionally starting a drag operation.

System Information Класс

Определение

Предоставляет сведения о текущей системной среде. Provides information about the current system environment.

Примеры

В следующем примере кода перечисляются все свойства SystemInformation класса в ListBox и отображается текущее значение свойства в, TextBox когда выбран элемент списка. The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

Комментарии

SystemInformationКласс предоставляет static свойства, которые можно использовать для получения сведений о текущей системной среде. The SystemInformation class provides static properties that can be used to get information about the current system environment. Класс предоставляет доступ к таким сведениям, как размеры отображаемых элементов Windows, параметры операционной системы, доступность сети и возможности оборудования, установленного в системе. The class provides access to information such as Windows display element sizes, operating system settings, network availability, and the capabilities of hardware installed on the system. Для этого класса невозможно создание экземпляров. This class cannot be instantiated.

Дополнительные сведения о параметрах на уровне системы см. в разделе системпараметерсинфо. For more information about system-wide parameters, see SystemParametersInfo.

Свойства

Возвращает задержку отслеживания активного окна. Gets the active window tracking delay.

Возвращает значение, указывающее направление, в котором операционная система располагает свернутые окна. Gets a value that indicates the direction in which the operating system arranges minimized windows.

Возвращает значение ArrangeStartingPosition, указывающее позицию, начиная с которой операционная система выстраивает свернутые окна. Gets an ArrangeStartingPosition value that indicates the starting position from which the operating system arranges minimized windows.

Возвращает значение BootMode, указывающее режим загрузки, в котором была запущена система. Gets a BootMode value that indicates the boot mode the system was started in.

Возвращает толщину (в пикселях) объемной границы окна или системного элемента управления. Gets the thickness, in pixels, of a three-dimensional (3-D) style window or system control border.

Возвращает множитель границы, который используется при определении толщины границы для изменения размера окна. Gets the border multiplier factor that is used when determining the thickness of a window’s sizing border.

Возвращает толщину (в пикселях) плоской границы окна или системного элемента управления. Gets the thickness, in pixels, of a flat-style window or system control border.

Возвращает стандартный размер кнопки в заголовке окна в пикселях. Gets the standard size, in pixels, of a button in a window’s title bar.

Возвращает высоту (в пикселях) стандартной области заголовка окна. Gets the height, in pixels, of the standard title bar area of a window.

Читайте также:  Синий экран смерти windows 10 пранк

Возвращает время мерцания курсора. Gets the caret blink time.

Возвращает ширину курсора (в пикселях) в элементах управления для редактирования. Gets the width, in pixels, of the caret in edit controls.

Возвращает имя NetBIOS локального компьютера. Gets the NetBIOS computer name of the local computer.

Возвращает максимальный размер (в пикселях), который может иметь курсор. Gets the maximum size, in pixels, that a cursor can occupy.

Возвращает значение, показывающее, может ли операционная система обрабатывать символы двухбайтовой кодировки (DBCS). Gets a value indicating whether the operating system is capable of handling double-byte character set (DBCS) characters.

Возвращает значение, показывающее, установлена ли отладочная версия USER.EXE. Gets a value indicating whether the debug version of USER.EXE is installed.

Возвращает размеры (в пикселях) области, в которой пользователь должен щелкнуть дважды, чтобы операционная система обработала два щелчка как двойной щелчок. Gets the dimensions, in pixels, of the area within which the user must click twice for the operating system to consider the two clicks a double-click.

Возвращает максимальное число миллисекунд, которое может пройти между первым и вторым щелчком, чтобы операционная система рассматривала эти действия как двойной щелчок. Gets the maximum number of milliseconds that can elapse between a first click and a second click for the OS to consider the mouse action a double-click.

Возвращает значение, показывающее, включено ли перетаскивание окон с содержимым. Gets a value indicating whether the user has enabled full window drag.

Возвращает ширину и высоту прямоугольника с центром в точке, в которой была нажата кнопка мыши, и в пределах которой еще не будет запущена операция перетаскивания. Gets the width and height of a rectangle centered on the point the mouse button was pressed, within which a drag operation will not begin.

Возвращает толщину (в пикселях) границы рамки окна, которую имеет заголовок и размеры которого не изменяются. Gets the thickness, in pixels, of the frame border of a window that has a caption and is not resizable.

Возвращает значение контрастности сглаживания шрифтов, используемое в сглаживании ClearType. Gets the font smoothing contrast value used in ClearType smoothing.

Возвращает текущий тип сглаживания шрифтов. Gets the current type of font smoothing.

Возвращает толщину (в пикселях) границы для изменения размера, которая рисуется по периметру окна, изменяющего размеры. Gets the thickness, in pixels, of the resizing border that is drawn around the perimeter of a window that is being drag resized.

Возвращает значение, показывающее, включен ли режим высокой контрастности в специальных возможностях. Gets a value indicating whether the user has enabled the high-contrast mode accessibility feature.

Возвращает толщину (в пикселях) левой и правой границ прямоугольника системного фокуса ввода. Gets the thickness of the left and right edges of the system focus rectangle, in pixels.

Возвращает толщину (в пикселях) левой и правой границ рамки изменения размеров вокруг области окна, изменяющего размеры. Gets the thickness of the left and right edges of the sizing border around the perimeter of a window being resized, in pixels.

Возвращает ширину (в пикселях) изображения стрелки на горизонтальной полосе прокрутки. Gets the width, in pixels, of the arrow bitmap on the horizontal scroll bar.

Возвращает высоту (в пикселях) по умолчанию для горизонтальной полосы прокрутки. Gets the default height, in pixels, of the horizontal scroll bar.

Возвращает ширину (в пикселях) ползунка горизонтальной полосы прокрутки. Gets the width, in pixels, of the scroll box in a horizontal scroll bar.

Возвращает ширину (в пикселях) ячейки упорядочения значков в режиме больших значков. Gets the width, in pixels, of an icon arrangement cell in large icon view.

Возвращает размеры (в пикселях) стандартного значка программы Windows. Gets the dimensions, in pixels, of the Windows default program icon size.

Возвращает размер (в пикселях) элемента сетки, используемой для размещения значков в режиме крупных значков. Gets the size, in pixels, of the grid square used to arrange icons in a large-icon view.

Возвращает высоту (в пикселях) ячейки упорядочения значков в режиме больших значков. Gets the height, in pixels, of an icon arrangement cell in large icon view.

Возвращает значение, показывающее, включено ли отслеживание активного окна. Gets a value indicating whether active window tracking is enabled.

Получает значение, показывающее, включен ли эффект скольжения при раскрытии поля со списком. Gets a value indicating whether the slide-open effect for combo boxes is enabled.

Получает значение, показывающее, включен ли эффект тени. Gets a value indicating whether the drop shadow effect is enabled.

Возвращает значение, указывающее, имеют ли пользовательские меню плоский вид. Gets a value indicating whether native user menus have a flat menu appearance.

Возвращает значение, показывающее, включено ли сглаживание шрифтов. Gets a value indicating whether font smoothing is enabled.

Возвращает значение, показывающее, включен ли выбор элементов интерфейса пользователя, таких как названия меню в панели меню, при наведении на них указателя. Gets a value indicating whether hot tracking of user-interface elements, such as menu names on menu bars, is enabled.

Получает значение, показывающее, включен ли перенос подписи значка. Gets a value indicating whether icon-title wrapping is enabled.

Возвращает значение, указывающее, предпочитает ли пользователь использовать клавиатуру вместо мыши и следует ли приложениям отображать интерфейсы клавиатуры, которые в противном случае были бы скрыты. Gets a value indicating whether the user relies on the keyboard instead of the mouse, and prefers applications to display keyboard interfaces that would otherwise be hidden.

Получает значение, показывающее, включен ли эффект плавной прокрутки для списков. Gets a value indicating whether the smooth-scrolling effect for list boxes is enabled.

Возвращает значение, показывающее, включены ли затухание и покадровая анимация. Gets a value indicating whether menu fade or slide animation features are enabled.

Получает значение, показывающее, включена ли анимация исчезания меню. Gets a value indicating whether menu fade animation is enabled.

Возвращает значение, показывающее, включена ли анимация сворачивания и восстановления окна. Gets a value indicating whether window minimize and restore animation is enabled.

Получает значение, показывающее, включен ли эффект исчезания выделения. Gets a value indicating whether the selection fade effect is enabled.

Возвращает значение, показывающее, включена ли возможность кнопка возврата к значениям, установленным по умолчанию. Gets a value indicating whether the snap-to-default-button feature is enabled.

Получает значение, показывающее, включен ли эффект градиента для заголовков окна. Gets a value indicating whether the gradient effect for window title bars is enabled.

Получает значение, показывающее, включена ли анимация ToolTip. Gets a value indicating whether ToolTip animation is enabled.

Возвращает высоту (в пикселях) окна кандзи, расположенного в нижней части экрана для версий Windows, использующих двухбайтовую кодировку (DBCS). Gets the height, in pixels, of the Kanji window at the bottom of the screen for double-byte character set (DBCS) versions of Windows.

Возвращает параметр задержки перед повторением для клавиатуры. Gets the keyboard repeat-delay setting.

Возвращает параметр скорости повтора для клавиатуры. Gets the keyboard repeat-speed setting.

Возвращает стандартные максимальные размеры (в пикселях) для окна, которое имеет заголовок и границы, позволяющие изменять размеры окна. Gets the default maximum dimensions, in pixels, of a window that has a caption and sizing borders.

Получает значение, показывающее, всегда ли подчеркиваются клавиши доступа в меню. Gets a value indicating whether menu access keys are always underlined.

Возвращает ширину по умолчанию (в пикселях) для кнопок строки меню и высоту (в пикселях) строки меню. Gets the default width, in pixels, for menu-bar buttons and the height, in pixels, of a menu bar.

Возвращает размеры по умолчанию (в пикселях) для кнопок строки меню. Gets the default dimensions, in pixels, of menu-bar buttons.

Возвращает размеры по умолчанию (в пикселях) для области флажка меню. Gets the dimensions, in pixels, of the default size of a menu check mark area.

Возвращает шрифт, используемый для отображения текста в меню. Gets the font used to display text on menus.

Возвращает высоту (в пикселях) для одной строки меню. Gets the height, in pixels, of one line of a menu.

Читайте также:  Перераспределение места windows 10

Возвращает время (в миллисекундах), которое система ожидает перед отображением каскадного контекстного меню, когда указатель мыши наводится на элемент вложенного меню. Gets the time, in milliseconds, that the system waits before displaying a cascaded shortcut menu when the mouse cursor is over a submenu item.

Возвращает значение, показывающее, поддерживает ли операционная система иврит и арабский язык. Gets a value indicating whether the operating system is enabled for the Hebrew and Arabic languages.

Возвращает размеры (в пикселях) обычного свернутого окна. Gets the dimensions, in pixels, of a normal minimized window.

Возвращает размеры (в пикселях) области, которая выделяется для размещения каждого свернутого окна. Gets the dimensions, in pixels, of the area each minimized window is allocated when arranged.

Возвращает минимальную ширину и высоту (в пикселях) для окна. Gets the minimum width and height for a window, in pixels.

Возвращает стандартные минимальные размеры (в пикселях), которые может принимать окно, изменяющее размеры. Gets the default minimum dimensions, in pixels, that a window may occupy during a drag resize.

Возвращает число мониторов на рабочем столе. Gets the number of display monitors on the desktop.

Возвращает значение, показывающее, используется ли для всех мониторов одинаковый цветовой формат пикселей. Gets a value indicating whether all the display monitors are using the same pixel color format.

Возвращает число кнопок мыши. Gets the number of buttons on the mouse.

Возвращает значение, указывающее, могут ли меняться местами функции левой и правой кнопок мыши. Gets a value indicating whether the functions of the left and right mouse buttons have been swapped.

Возвращает размеры прямоугольника (в пикселях), в котором должен находиться указатель мыши в течение времени наведения мыши перед тем, как создается сообщение о наведении мыши. Gets the dimensions, in pixels, of the rectangle within which the mouse pointer has to stay for the mouse hover time before a mouse hover message is generated.

Возвращает интервал времени (в миллисекундах), в течение которого указатель мыши должен оставаться в прямоугольнике наведения перед тем, как вызывается сообщение о наведении мыши. Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mouse hover message is generated.

Возвращает значение, указывающее, установлено ли указывающее устройство. Gets a value indicating whether a pointing device is installed.

Возвращает текущую скорость мыши. Gets the current mouse speed.

Возвращает значение, указывающее, установлена ли мышь с колесом прокрутки. Gets a value indicating whether a mouse with a mouse wheel is installed.

Возвращает значение смещения, вызываемого поворотом колесика мыши на одно деление. Gets the amount of the delta value of a single mouse wheel rotation increment.

Возвращает число строк, прокручиваемых при вращении колесика мыши. Gets the number of lines to scroll when the mouse wheel is rotated.

Возвращает значение, указывающее, установлена ли мышь с колесом прокрутки. Gets a value indicating whether a mouse with a mouse wheel is installed.

Возвращает значение, указывающее, присутствует ли сетевое подключение. Gets a value indicating whether a network connection is present.

Возвращает значение, показывающее, установлены ли расширения Microsoft Windows для компьютеров с перьевым вводом. Gets a value indicating whether the Microsoft Windows for Pen Computing extensions are installed.

Возвращает сторону всплывающих меню, которые выравниваются по соответствующему элементу панели меню. Gets the side of pop-up menus that are aligned to the corresponding menu-bar item.

Возвращает текущее состояние системного питания. Gets the current system power status.

Возвращает стандартные размеры (в пикселях) для развернутого окна на основном мониторе. Gets the default dimensions, in pixels, of a maximized window on the primary display.

Возвращает размеры (в пикселях) для текущего видеорежима основного монитора. Gets the dimensions, in pixels, of the current video mode of the primary display.

Возвращает значение, указывающее, выравниваются ли раскрывающиеся меню вправо относительно соответствующего элемента строки меню. Gets a value indicating whether drop-down menus are right-aligned with the corresponding menu-bar item.

Возвращает ориентацию экрана. Gets the orientation of the screen.

Возвращает значение, показывающее, присутствует ли в этой операционной системе диспетчер безопасности. Gets a value indicating whether a Security Manager is present on this operating system.

Возвращает значение, показывающее, выбрал ли пользователь режим, в котором приложение представляет данные в визуальной форме в случаях, когда данные должны выводиться в звуковой форме. Gets a value indicating whether the user prefers that an application present information in visual form in situations when it would present the information in audible form.

Возвращает ширину (в пикселях) изменяющей размер границы, нарисованной вокруг периметра изменяющего размер окна. Gets the width, in pixels, of the sizing border drawn around the perimeter of a window being resized.

Возвращает ширину (в пикселях) кнопок мелких заголовков и высоту малых заголовков в пикселях. Gets the width, in pixels, of small caption buttons, and the height, in pixels, of small captions.

Возвращает размеры (в пикселях) мелкого значка. Gets the dimensions, in pixels, of a small icon.

Возвращает значение, указывающее, сопоставлен ли вызывающий процесс с клиентским сеансом служб терминалов. Gets a value indicating whether the calling process is associated with a Terminal Services client session.

Возвращает размеры (в пикселях) значков в заголовке. Gets the dimensions, in pixels, of small caption buttons.

Возвращает высоту (в пикселях) заголовка окна программного средства. Gets the height, in pixels, of a tool window caption.

Возвращает значение, показывающее, включены ли эффекты пользовательского интерфейса. Gets a value indicating whether user interface (UI) effects are enabled or disabled.

Возвращает имя домена, которому принадлежит пользователь. Gets the name of the domain the user belongs to.

Возвращает значение, позволяющее определить, выполняется ли текущий процесс в режиме взаимодействия с пользователем. Gets a value indicating whether the current process is running in user-interactive mode.

Возвращает имя пользователя, сопоставленное с текущим потоком. Gets the user name associated with the current thread.

Возвращает толщину (в пикселях) верхней и нижней границ прямоугольника системного фокуса ввода. Gets the thickness, in pixels, of the top and bottom edges of the system focus rectangle.

Возвращает толщину (в пикселях) верхней и нижней границ рамки для изменения размера, расположенной по периметру окна, изменяющего размеры. Gets the thickness, in pixels, of the top and bottom edges of the sizing border around the perimeter of a window being resized.

Возвращает высоту (в пикселях) изображения стрелки на вертикальной полосе прокрутки. Gets the height, in pixels, of the arrow bitmap on the vertical scroll bar.

Возвращает высоту (в пикселях) ползунка вертикальной полосы прокрутки. Gets the height, in pixels, of the scroll box in a vertical scroll bar.

Возвращает ширину по умолчанию (в пикселях) вертикальной полосы прокрутки. Gets the default width, in pixels, of the vertical scroll bar.

Возвращает границы виртуального экрана. Gets the bounds of the virtual screen.

Возвращает размер (в пикселях) рабочей области экрана. Gets the size, in pixels, of the working area of the screen.

Методы

Получает толщину (в пикселях) плоской границы окна или системного элемента управления для заданного значения DPI. Gets the thickness, in pixels, of a flat-style window or system control border for a given DPI value.

Получает ширину стрелки на горизонтальной полосе прокрутки в пикселях. Gets the width of the horizontal scroll bar arrow bitmap in pixels.

Получает высоту по умолчанию (в пикселях) горизонтальной полосы прокрутки для данного значения DPI. Gets the default height, in pixels, of the horizontal scroll bar for a given DPI value.

Получает шрифт, используемый для отображения текста в меню, которое будет использоваться для изменения настройки DPI для заданного устройства отображения. Gets the font used to display text on menus for use in changing the DPI for a given display device.

Получает высоту по умолчанию (в пикселях) вертикальной полосы прокрутки для данного значения DPI. Gets the default height, in pixels, of the vertical scroll bar for a given DPI value.

Получает высоту в пикселях точечного изображения стрелки на вертикальной полосе прокрутки. Gets the height of the vertical scroll bar arrow bitmap in pixels.

Оцените статью