UIStringAttributes stringAttributes = new UIStringAttributes {
Font = defFont,
ForegroundColor = UIColor.Black,
ParagraphStyle = new NSMutableParagraphStyle () { LineSpacing = 8.0f }
};
var AttributedText = new NSMutableAttributedString (cellData.BriefDescription);
AttributedText.AddAttributes (stringAttributes, new NSRange (0, cellData.BriefDescription.Length));
BriefDescriptionLbl.AttributedText = AttributedText;
xamarin UILabel 缩进
最新推荐文章于 2020-03-05 15:24:44 发布