Class SettingPropertyIntegerAttribute
- Namespace
- MCM.Abstractions.Attributes.v2
- Assembly
- MCMv5.dll
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public sealed class SettingPropertyIntegerAttribute : BaseSettingPropertyAttribute, IPropertyDefinitionBase, IPropertyDefinitionWithMinMax, IPropertyDefinitionWithFormat, IPropertyDefinitionWithCustomFormatter
- Inheritance
-
SettingPropertyIntegerAttribute
- Implements
- Inherited Members
Constructors
SettingPropertyIntegerAttribute(string, int, int, string)
public SettingPropertyIntegerAttribute(string displayName, int minValue, int maxValue, string valueFormat = "0")
Parameters
Properties
CustomFormatter
public Type? CustomFormatter { get; set; }
Property Value
MaxValue
The maximum value the setting can be set to. Used by the slider control.
public decimal MaxValue { get; }
Property Value
MinValue
The minimum value the setting can be set to. Used by the slider control.
public decimal MinValue { get; }
Property Value
ValueFormat
The format in which the slider's value will be displayed in.
public string ValueFormat { get; }
Property Value
This page was last modified at 12/23/2022 11:49:56 +02:00 (UTC).
Commit Message
Author: Aragas
Commit: aa889a1db7974dc13c9ff22e5740d958a2228b18
* Added MCM Source Package NuGet for easier integration