예제 #1
0
        protected override void AppearanceChanged()
        {
            base.AppearanceChanged();

            XLabel.TextColor = HostResources.GetNamedColor(NamedResources.DescriptionLabelColor);
            YLabel.TextColor = HostResources.GetNamedColor(NamedResources.DescriptionLabelColor);
        }
        public override void ViewDidChangeEffectiveAppearance()
        {
            XLabel.TextColor      = HostResources.GetNamedColor(NamedResources.DescriptionLabelColor);
            YLabel.TextColor      = HostResources.GetNamedColor(NamedResources.DescriptionLabelColor);
            WidthLabel.TextColor  = HostResources.GetNamedColor(NamedResources.DescriptionLabelColor);
            HeightLabel.TextColor = HostResources.GetNamedColor(NamedResources.DescriptionLabelColor);

            base.ViewDidChangeEffectiveAppearance();
        }
예제 #3
0
 public override void ViewDidChangeEffectiveAppearance()
 {
     base.ViewDidChangeEffectiveAppearance();
     this.label.TextColor = HostResources.GetNamedColor(NamedResources.DescriptionLabelColor);
 }